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