summaryrefslogtreecommitdiffstats
path: root/src/main/resources
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2022-05-09 17:58:40 +0200
committerGeorg Pfuetzenreuter2022-05-09 17:58:40 +0200
commit819149e5ca103190672ba0944720e7a8cb9b26d0 (patch)
treec972ad7214883856badf8146ad2ef65e67a83bea /src/main/resources
parent33de7a6800ba2447bf040bd25167e677a723bf2f (diff)
downloadpubsh-web-819149e5ca103190672ba0944720e7a8cb9b26d0.tar.gz
pubsh-web-819149e5ca103190672ba0944720e7a8cb9b26d0.tar.bz2
pubsh-web-819149e5ca103190672ba0944720e7a8cb9b26d0.zip
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 <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.properties16
1 files changed, 12 insertions, 4 deletions
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