From 819149e5ca103190672ba0944720e7a8cb9b26d0 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Mon, 9 May 2022 17:58:40 +0200 Subject: Downgrade to 2.6.7 - Init Hikari + db-scheduler - Downgrade Spring Boot release candidate 2.7-RC1 to stable 2.6.7 - Enable Hikari with MariaDB backend - Move application.properties values to environment variables - Add sample scheduler service - Move Keycloak Bean configuration to appropriately named class - Various minor changes Signed-off-by: Georg Pfuetzenreuter --- src/main/resources/application.properties | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/main/resources/application.properties') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 3b5a05b..fee4153 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,13 @@ spring.mvc.hiddenmethod.filter.enabled=true -keycloak.auth-server-url=http://192.168.5.9:8080/ -keycloak.realm=local-devel -keycloak.resource=portal-app -keycloak.public-client=true \ No newline at end of file +keycloak.auth-server-url=http://${KC_HOST}:${KC_PORT}/ +keycloak.realm=${KC_REALM} +keycloak.resource=${KC_RESOURCE} +keycloak.public-client=true +spring.jpa.show-sql: true +#spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver +spring.datasource.driverClassName=org.mariadb.jdbc.Driver +#spring.datasource.url=jdbc:mysql://${DB_HOST}/${DB} +spring.datasource.jdbc-url=jdbc:mariadb://${DB_HOST}/${DB} +spring.datasource.username=${DB_USER} +spring.datasource.password=${DB_SECRET} +db-scheduler.enabled=true \ No newline at end of file -- cgit v1.2.3