mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-10 07:15:43 +02:00
9 lines
360 B
Django/Jinja
9 lines
360 B
Django/Jinja
{# 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 applications | is_feature_enabled('central_database',application_id) %}
|
|
database:
|
|
condition: service_healthy
|
|
{% endif %}
|
|
redis:
|
|
condition: service_healthy
|
|
{{ "\n" }} |