From 6690061b1587d2fab35881b6d4659ecfadf34954 Mon Sep 17 00:00:00 2001 From: Peter Motzko Date: Thu, 11 May 2023 13:12:04 +0200 Subject: [PATCH] feat(devel): Bump Keycloak version of docker-compose to 21.1 and update env file --- .env.example | 5 ++--- dev-assets/dev-containers/docker-compose.yml | 7 +++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 44de83cc0..fcd750154 100644 --- a/.env.example +++ b/.env.example @@ -87,9 +87,8 @@ WAIT_SLEEP_INTERVAL="5" WAIT_HOST_CONNECT_TIMEOUT="3" # Keycloak -KEYCLOAK_USER="admin" -KEYCLOAK_PASSWORD="changeme" -KEYCLOAK_IMPORT="/tmp/local-realm.json" +KEYCLOAK_ADMIN="admin" +KEYCLOAK_ADMIN_PASSWORD="changeme" # Revocation service # Related to the Postgres configuration diff --git a/dev-assets/dev-containers/docker-compose.yml b/dev-assets/dev-containers/docker-compose.yml index 3827ca04b..abd63f9f6 100644 --- a/dev-assets/dev-containers/docker-compose.yml +++ b/dev-assets/dev-containers/docker-compose.yml @@ -12,12 +12,15 @@ services: - "5432:5432" local_keycloak: - image: jboss/keycloak:16.1.1 + image: quay.io/keycloak/keycloak:21.1 container_name: local_keycloak + command: + - start-dev + - --import-realm env_file: - ../../dev.env volumes: - - ./keycloak/local-realm.json:/tmp/local-realm.json + - ./keycloak/local-realm.json:/opt/keycloak/data/import/local-realm.json ports: - "8081:8080"