Files
computer-playbook/roles/docker-container/templates/depends_on/dbms_base.yml.j2

8 lines
300 B
Django/Jinja

{% if not applications | get_app_conf(application_id, 'features.central_database', False)%}
{{ database_host }}:
condition: service_healthy
{% endif %}
{% if applications | is_docker_service_enabled(application_id, 'redis') %}
redis:
condition: service_healthy
{% endif %}