chore(keycloak): set keycloak hostname and header mode for proxy

This commit is contained in:
2024-11-09 12:21:56 +01:00
parent d8d0b5c9e5
commit c7040c96f8
3 changed files with 16 additions and 8 deletions

View File

@ -67,12 +67,6 @@
recreate: "{{ keycloak_container_force_recreate | default(false) or (keycloak_container_image_status.changed if keycloak_container_image_status is defined else false) }}"
etc_hosts: "{{ keycloak_container_etc_hosts | default(omit) }}"
state: started
command: >-2
start
--db-username {{ keycloak_database_username }}
--db-password {{ keycloak_database_password }}
--db-url jdbc:postgresql://{{ keycloak_database_hostname }}{{ keycloak_database_port | ternary(':' ~ keycloak_database_port, '') }}/{{ keycloak_database_database }}
{{ keycloak_container_extra_start_flags | default([]) | join(' ') }}
--optimized
command: "{{ keycloak_container_command }}"
tags:
- keycloak-container