Skip to content

Commit 49a6cf0

Browse files
committed
Changed: Keycloak upgraded to 26
1 parent 62d3b13 commit 49a6cf0

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

conf/keycloak/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ ARG ORACLE_JDBC_VERSION=21.3.0.0
2121
ADD --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
2222
ADD --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
2725
ENV KC_HEALTH_ENABLED=true
2826

conf/keycloak/builtin-users-spi/conf/quarkus.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ quarkus.datasource.user-store.username=${DATAVERSE_DB_USER}
44
quarkus.datasource.user-store.password=${DATAVERSE_DB_PASSWORD}
55

66
quarkus.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

910
quarkus.datasource.user-store.jdbc.recovery.username=${DATAVERSE_DB_USER}
1011
quarkus.datasource.user-store.jdbc.recovery.password=${DATAVERSE_DB_PASSWORD}

docker-compose-dev.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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}

0 commit comments

Comments
 (0)