Initial commit

This commit is contained in:
lobo committed 2026-04-18 12:08:17 +02:00
commit a941000425
8 files changed
+433

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
spring:
application:
name: tbp-core-service
profiles:
active: prod
datasource:
url: jdbc:postgresql://${DB_HOST}:5432/tbp_core
username: ${DB_USER}
password: ${DB_PASS}
jpa:
open-in-view: true
hibernate:
ddl-auto: validate
flyway:
enabled: true
baseline-on-migrate: true
locations: classpath:db/migration
server:
port: 8081
management:
endpoints:
web:
exposure:
include: health, prometheus, metrics
security:
jwt:
secret: ${JWT_SECRET}
app:
cors:
allowed-origins: "https://tbp.andreas-dahm.eu"
internal:
api-key: ${INTERNAL_API_KEY}