mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-18 14:34:24 +02:00
18 lines
880 B
Django/Jinja
18 lines
880 B
Django/Jinja
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
|
|
|
application:
|
|
image: "{{ applications | get_app_conf(application_id, 'images.keycloak', True) }}"
|
|
container_name: {{container_name}}
|
|
command: start {% if applications | get_app_conf(application_id, 'import_realm', True) | bool %}--import-realm{% endif %}
|
|
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
|
ports:
|
|
- "{{ keycloak_server_host }}:8080"
|
|
volumes:
|
|
- "{{import_directory_host}}:{{import_directory_docker}}"
|
|
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
|
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
|
{% set container_port = 9000 %}
|
|
{% set container_healthcheck = 'health/live' %}
|
|
{% include 'roles/docker-container/templates/healthcheck/tcp.yml.j2' %}
|
|
|
|
{% include 'roles/docker-compose/templates/networks.yml.j2' %} |