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

7 lines
236 B
Django/Jinja

# 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 %}
{{ "\n" }}