feat(keycloak): use persistend sessions & use new options

Replace deprecated PROXY setting, see https://github.com/keycloak/keycloak/issues/29665
This commit is contained in:
Saibotk 2024-08-14 01:08:03 +02:00
parent 2a6ca65968
commit 2e82ca3a9f
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -40,9 +40,11 @@ services:
{% endif %}
environment:
- "KC_PROXY=edge"
- "KC_FEATURES=scripts"
- "KC_HOSTNAME={{ keycloak_domain }}"
- "KC_PROXY_HEADERs=xforwarded"
- "KC_HTTP_ENABLED=true"
- "KC_FEATURES=scripts,persistent-user-session"
- "KC_HOSTNAME_STRICT=true"
- "KC_HOSTNAME=https://{{ keycloak_domain }}"
- "KC_LOGLEVEL={{ keycloak_log_level }}"
- "KC_DB_URL_HOST=database"
- "KC_DB_USERNAME={{ keycloak_database_user }}"