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

@ -5,4 +5,5 @@
- https://github.com/keycloak/keycloak
- https://en.wikipedia.org/wiki/Keycloak
- 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
environment:
KC_HOSTNAME: {{domain}}
#KC_HOSTNAME_PORT: {{http_port}}
KC_HOSTNAME_STRICT_BACKCHANNEL: false
KC_HOSTNAME_STRICT_BACKCHANNEL: true
KC_HTTP_ENABLED: true
KC_HOSTNAME_STRICT_HTTPS: false
KC_PROXY: passthrough
KC_HEALTH_ENABLED: true
KEYCLOAK_ADMIN: "{{keycloak_administrator_username}}"
KEYCLOAK_ADMIN_PASSWORD: "{{keycloak_administrator_password}}"