This commit is contained in:
holzi1005 2024-12-07 22:50:33 +01:00
parent f51f35350b
commit 6ee670e371
2 changed files with 5 additions and 4 deletions

View file

@ -102,9 +102,9 @@ services:
KC_DB_PASSWORD: <keycloak-pw>
KC_DB_URL: jdbc:mariadb://db-odc:3306/keycloak
KC_DB_USERNAME: keycloak
KC_HOSTNAME_URL: <clientUrl>/keycloak
KC_HOSTNAME_PATH: <clientUrl>/keycloak
KC_HOSTNAME_ADMIN_URL: <clientUrl>/keycloak
KC_HOSTNAME_URL: <httpMethod>://<clientUrl>/keycloak
KC_HOSTNAME_PATH: <httpMethod>://<clientUrl>/keycloak
KC_HOSTNAME_ADMIN_URL: <httpMethod>://<clientUrl>/keycloak
KC_HTTP_RELATIVE_PATH: /keycloak
KC_PROXY: passthrough

View file

@ -58,5 +58,6 @@ echo ------------------------------------------------------------
sed -i "s|<keycloakAdminPw>|$KEYCLOAK_ADMIN_PW|g" docker-compose.yml
sed -i "s|<keycloak-pw>|$KEYCLOAK_PW|g" docker-compose.yml
sed -i "s|<clientsecret>|$OAUTH_KEYCLOAK_CLIENT_ID|g" docker-compose.yml
sed -i "s|<clientUrl>|$HTTP_METHOD://$PUBLIC_URL|g" docker-compose.yml
sed -i "s|<clientUrl>|$PUBLIC_URL|g" docker-compose.yml
sed -i "s|<httpMethod>|$HTTP_METHOD|g" docker-compose.yml
sed -i "s|<odcMySqlPw>|$ODC_DB_PW|g" docker-compose.yml