Files
swiss-backend/src/main/resources/application.yaml
Michel ten Voorde e953ad6d53
All checks were successful
Gitea/swiss-backend/pipeline/head This commit looks good
Use cookies
2025-10-27 14:17:17 +01:00

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