From 6ee670e371106aa1e0bd097db6e2451f6c63c26b Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sat, 7 Dec 2024 22:50:33 +0100 Subject: [PATCH] update --- docker-compose.yml | 6 +++--- setup.sh | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 748e12f..7c9f07c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -102,9 +102,9 @@ services: KC_DB_PASSWORD: KC_DB_URL: jdbc:mariadb://db-odc:3306/keycloak KC_DB_USERNAME: keycloak - KC_HOSTNAME_URL: /keycloak - KC_HOSTNAME_PATH: /keycloak - KC_HOSTNAME_ADMIN_URL: /keycloak + KC_HOSTNAME_URL: :///keycloak + KC_HOSTNAME_PATH: :///keycloak + KC_HOSTNAME_ADMIN_URL: :///keycloak KC_HTTP_RELATIVE_PATH: /keycloak KC_PROXY: passthrough diff --git a/setup.sh b/setup.sh index c1e47c0..427f779 100644 --- a/setup.sh +++ b/setup.sh @@ -58,5 +58,6 @@ echo ------------------------------------------------------------ sed -i "s||$KEYCLOAK_ADMIN_PW|g" docker-compose.yml sed -i "s||$KEYCLOAK_PW|g" docker-compose.yml sed -i "s||$OAUTH_KEYCLOAK_CLIENT_ID|g" docker-compose.yml -sed -i "s||$HTTP_METHOD://$PUBLIC_URL|g" docker-compose.yml +sed -i "s||$PUBLIC_URL|g" docker-compose.yml +sed -i "s||$HTTP_METHOD|g" docker-compose.yml sed -i "s||$ODC_DB_PW|g" docker-compose.yml