Adapted variables for reverse proxy

This commit is contained in:
Kevin Veen-Birkenbach 2025-01-20 22:17:25 +01:00
parent 421035a1f6
commit 9181423e84
2 changed files with 4 additions and 3 deletions

View File

@ -6,3 +6,4 @@
- https://en.wikipedia.org/wiki/Keycloak - https://en.wikipedia.org/wiki/Keycloak
- https://www.keycloak.org/server/containers - https://www.keycloak.org/server/containers
- https://www.youtube.com/watch?v=fvxQ8bW0vO8 - https://www.youtube.com/watch?v=fvxQ8bW0vO8
- https://www.keycloak.org/server/reverseproxy

View File

@ -7,10 +7,10 @@ services:
command: start command: start
environment: environment:
KC_HOSTNAME: {{domain}} KC_HOSTNAME: {{domain}}
#KC_HOSTNAME_PORT: {{http_port}} KC_HOSTNAME_STRICT_BACKCHANNEL: true
KC_HOSTNAME_STRICT_BACKCHANNEL: false
KC_HTTP_ENABLED: true KC_HTTP_ENABLED: true
KC_HOSTNAME_STRICT_HTTPS: false KC_HOSTNAME_STRICT_HTTPS: false
KC_PROXY: passthrough
KC_HEALTH_ENABLED: true KC_HEALTH_ENABLED: true
KEYCLOAK_ADMIN: "{{keycloak_administrator_username}}" KEYCLOAK_ADMIN: "{{keycloak_administrator_username}}"
KEYCLOAK_ADMIN_PASSWORD: "{{keycloak_administrator_password}}" KEYCLOAK_ADMIN_PASSWORD: "{{keycloak_administrator_password}}"