computer-playbook/templates/docker-container-depends-on-also-database.yml.j2

6 lines
241 B
Plaintext
Raw Normal View History

# This template needs to be included in docker-compose.yml containers which depend on a database and additional containers
depends_on:
2024-01-03 12:07:19 +01:00
{% if enable_central_database | bool %}
database:
condition: service_healthy
{% endif %}