mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 05:01:04 +01:00
10 lines
309 B
Django/Jinja
10 lines
309 B
Django/Jinja
|
|
# This template needs to be included in docker-compose.yml contaienrs, which depend on a database, redis and optional additional volumes
|
|
depends_on:
|
|
{% if not enable_central_database | bool %}
|
|
database:
|
|
condition: service_healthy
|
|
{% endif %}
|
|
redis:
|
|
condition: service_healthy
|