feat: add 389ds ldap backend to keycloak
Signed-off-by: Bert-Jan Fikse <bert-jan@whatwedo.ch>
This commit is contained in:
parent
59d0174905
commit
12864a13b0
8 changed files with 138 additions and 2 deletions
|
|
@ -33,13 +33,25 @@ services:
|
|||
KC_PROXY: {{ keycloak_proxy_mode }}
|
||||
KC_HOSTNAME: {{ keycloak_domain }}
|
||||
KC_HEALTH_ENABLED: "true"
|
||||
{% if keycloak_truststore_certificates | length > 0 %}
|
||||
KC_TRUSTSTORE_PATHS: "{{ keycloak_truststore_certificates | map('regex_replace', '^.*/(.*)$', '/opt/keycloak/certs/\\1') | join(',') }}"
|
||||
{% endif %}
|
||||
depends_on:
|
||||
- postgres
|
||||
volumes:
|
||||
- {{ keycloak_docker_volume_dir }}/data:/opt/keycloak/data
|
||||
{% for cert in keycloak_truststore_certificates %}
|
||||
- {{ cert }}:/opt/keycloak/certs/{{ cert | basename }}:ro
|
||||
{% endfor %}
|
||||
networks:
|
||||
- {{ keycloak_backend_network }}
|
||||
- {{ keycloak_traefik_network }}
|
||||
{% if keycloak_extra_hosts | length > 0 %}
|
||||
extra_hosts:
|
||||
{% for host in keycloak_extra_hosts %}
|
||||
- "{{ host }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
tmpfs:
|
||||
- /opt/keycloak/data/tmp:size=1024m
|
||||
labels:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue