Implemented correct keycloak variables

This commit is contained in:
Kevin Veen-Birkenbach 2025-01-20 21:25:31 +01:00
parent c70cc32a9d
commit 421035a1f6
2 changed files with 4 additions and 6 deletions

View File

@ -303,7 +303,7 @@
roles: roles:
- role: docker-keycloak - role: docker-keycloak
vars: vars:
domain: "{{domain_keycloack}}" domain: "{{domain_keycloak}}"
http_port: 8032 http_port: 8032
# Native Webserver Roles # Native Webserver Roles

View File

@ -8,9 +8,9 @@ services:
environment: environment:
KC_HOSTNAME: {{domain}} KC_HOSTNAME: {{domain}}
#KC_HOSTNAME_PORT: {{http_port}} #KC_HOSTNAME_PORT: {{http_port}}
KC_HOSTNAME_STRICT_BACKCHANNEL: true KC_HOSTNAME_STRICT_BACKCHANNEL: false
KC_HTTP_ENABLED: false KC_HTTP_ENABLED: true
KC_HOSTNAME_STRICT_HTTPS: true KC_HOSTNAME_STRICT_HTTPS: false
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}}"
@ -24,6 +24,4 @@ services:
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %} {% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
{% include 'templates/docker/container/networks.yml.j2' %} {% include 'templates/docker/container/networks.yml.j2' %}
{% include 'templates/docker/compose/volumes.yml.j2' %}
{% include 'templates/docker/compose/networks.yml.j2' %} {% include 'templates/docker/compose/networks.yml.j2' %}