From 4fb6923da9b95747f8ba674c4aecd323d161c292 Mon Sep 17 00:00:00 2001 From: Charley Wu Date: Mon, 4 Nov 2024 22:11:27 +0800 Subject: [PATCH] The environment variables `KEYCLOAK_ADMIN` have been deprecated - https://www.keycloak.org/docs/latest/upgrading/index.html#admin-bootstrapping-and-recovery --- .devcontainer/compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/compose.yaml b/.devcontainer/compose.yaml index 21ab7ed7..7092eb4f 100644 --- a/.devcontainer/compose.yaml +++ b/.devcontainer/compose.yaml @@ -23,8 +23,8 @@ services: image: keycloak:cas environment: # https://www.keycloak.org/server/configuration - KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN:-admin} - KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD:-admin} + KC_BOOTSTRAP_ADMIN_USERNAME: ${KC_BOOTSTRAP_ADMIN_USERNAME:-admin} + KC_BOOTSTRAP_ADMIN_PASSWORD: ${KC_BOOTSTRAP_ADMIN_PASSWORD:-admin} # https://www.keycloak.org/server/reverseproxy KC_PROXY_HEADERS: xforwarded volumes: