42 lines
1005 B
YAML
Executable File
42 lines
1005 B
YAML
Executable File
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}/${DB_NAME}?currentSchema=swiss
|
|
username: ${DB_USERNAME:postgres}
|
|
password: ${DB_PASSWORD:postgres}
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: update
|
|
flyway:
|
|
url: jdbc:postgresql://${DB_URL:localhost:5432}/${DB_NAME}?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
|
|
|
|
jwt:
|
|
private:
|
|
key: classpath:certs/private.pem
|
|
public:
|
|
key: classpath:certs/public.pem
|
|
cookie:
|
|
secure: true
|
|
samesite: None |