File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ ARG ORACLE_JDBC_VERSION=21.3.0.0
2121ADD --chown=keycloak:keycloak https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc11/${ORACLE_JDBC_VERSION}/ojdbc11-${ORACLE_JDBC_VERSION}.jar /opt/keycloak/providers/ojdbc11.jar
2222ADD --chown=keycloak:keycloak https://repo1.maven.org/maven2/com/oracle/database/nls/orai18n/${ORACLE_JDBC_VERSION}/orai18n-${ORACLE_JDBC_VERSION}.jar /opt/keycloak/providers/orai18n.jar
2323
24- # Database build parameter
25- ENV KC_DB=oracle
2624# Health build parameter
2725ENV KC_HEALTH_ENABLED=true
2826
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ quarkus.datasource.user-store.username=${DATAVERSE_DB_USER}
44quarkus.datasource.user-store.password =${DATAVERSE_DB_PASSWORD}
55
66quarkus.datasource.user-store.jdbc.driver =org.postgresql.Driver
7- quarkus.datasource.user-store.jdbc.transactions =xa
7+ quarkus.datasource.user-store.jdbc.transactions =disabled
8+ quarkus.transaction-manager.unsafe-multiple-last-resources =allow
89
910quarkus.datasource.user-store.jdbc.recovery.username =${DATAVERSE_DB_USER}
1011quarkus.datasource.user-store.jdbc.recovery.password =${DATAVERSE_DB_PASSWORD}
Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ services:
182182 - KEYCLOAK_ADMIN_PASSWORD=kcpassword
183183 - KEYCLOAK_LOGLEVEL=DEBUG
184184 - KC_HOSTNAME_STRICT=false
185+ - KC_DB=postgres
186+ - KC_DB_URL=jdbc:postgresql://postgres:5432/dataverse
187+ - KC_DB_USERNAME=${DATAVERSE_DB_USER}
188+ - KC_DB_PASSWORD=secret
185189 - DATAVERSE_DB_HOST=postgres
186190 - DATAVERSE_DB_PORT=5432
187191 - DATAVERSE_DB_USER=${DATAVERSE_DB_USER}
You can’t perform that action at this time.
0 commit comments