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

6 lines
225 B
Plaintext
Raw Normal View History

# This template needs to be included in docker-compose.yml contaienrs, which just depend on a database
{% if not enable_central_database | bool %}
depends_on:
database:
condition: service_healthy
{% endif %}