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

7 lines
256 B
Plaintext
Raw Permalink Normal View History

# This template needs to be included in docker-compose.yml containers which depend on a database and additional containers
depends_on:
{% if not enable_central_database | bool %}
database:
condition: service_healthy
{% endif %}
2024-01-04 11:36:55 +01:00
{{ "\n" }}