externalize properties

This commit is contained in:
Jottyfan 2022-10-03 17:45:03 +02:00
parent 410c9881c1
commit 72afdc65a5

View File

@ -1,14 +1,9 @@
# jooq
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/camporganizer
spring.datasource.username=jooq
spring.datasource.password=jooq
# application
server.port = 8081
server.servlet.context-path=/CampOrganizer2
# database creddentials from defined config file
spring.config.import=/etc/CampOrganizer2/config.properties
# keycloak
keycloak.auth-server-url = https://www.onkelwernerfreizeiten.de:8443/
keycloak.realm = ow
@ -17,3 +12,6 @@ keycloak.public-client = true
keycloak.security-constraints[0].authRoles[0] = business
keycloak.security-constraints[0].securityCollections[0].patterns[0] = /business/*
keycloak.use-resource-role-mappings=true
# for development only
server.port = 8081