Solved condition and tab bugs

This commit is contained in:
2025-07-07 21:44:33 +02:00
parent f254c9711d
commit a100c9e63d
2 changed files with 7 additions and 7 deletions

View File

@@ -1,18 +1,18 @@
{# This template needs to be included in docker-compose.yml containers, which depend on a database, redis and optional additional volumes #}
{% if applications | is_feature_enabled('central_database', application_id)
and not (applications[application_id].docker.redis.enabled
and not (applications[application_id].docker.services.redis.enabled
| default(false)
| bool) %}
depends_on: []
{% else %}
depends_on:
{% if not applications | is_feature_enabled('central_database', application_id) %}
{% if not applications | is_feature_enabled('central_database', application_id) %}
database:
condition: service_healthy
{% endif %}
{% if applications[application_id].docker.redis.enabled | default(false) | bool %}
{% endif %}
{% if applications[application_id].docker.services.redis.enabled | default(false) | bool %}
redis:
condition: service_healthy
{% endif %}
{% endif %}
{% endif %}
{{ "\n" }}