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

9 lines
318 B
Plaintext
Raw Permalink Normal View History

2024-05-26 22:57:52 +02:00
# This template needs to be included in docker-compose.yml containers, which depend on a database, redis and optional additional volumes
depends_on:
{% if not enable_central_database | bool %}
database:
condition: service_healthy
{% endif %}
redis:
2024-01-03 20:28:47 +01:00
condition: service_healthy
2024-01-04 11:36:55 +01:00
{{ "\n" }}