Move to new server
This commit is contained in:
33
src/main/resources/application.yaml
Executable file
33
src/main/resources/application.yaml
Executable file
@@ -0,0 +1,33 @@
|
||||
spring:
|
||||
application:
|
||||
name: swiss
|
||||
# autoconfigure:
|
||||
# exclude:
|
||||
# - org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration
|
||||
# - org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration
|
||||
datasource:
|
||||
url: jdbc:postgresql://${DB_URL:localhost:5432}/swiss?currentSchema=swiss
|
||||
username: ${DB_USERNAME:postgres}
|
||||
password: ${DB_PASSWORD:postgres}
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: none
|
||||
flyway:
|
||||
url: jdbc:postgresql://${DB_URL:localhost:5432}/swiss?currentSchema=swiss
|
||||
user: ${DB_USERNAME:postgres}
|
||||
password: ${DB_PASSWORD:postgres}
|
||||
baseline-on-migrate: true
|
||||
|
||||
management:
|
||||
server:
|
||||
port: 8081
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "*"
|
||||
endpoint:
|
||||
health:
|
||||
probes:
|
||||
enabled: true
|
||||
|
||||
security: true
|
||||
Reference in New Issue
Block a user