Overall optimations for application id naming

This commit is contained in:
2025-07-17 17:41:52 +02:00
parent 562603a8cd
commit 409e659143
9 changed files with 102 additions and 57 deletions

View File

@@ -1,6 +1,6 @@
{# This template needs to be included in docker-compose.yml which contain a database and additional volumes #}
volumes:
{% if not applications | get_app_conf(application_id, 'features.central_database', False)%}
{% if not applications | get_app_conf(application_id, 'features.central_database', False) and applications | get_app_conf(application_id, 'docker.services.database.enabled', False) %}
database:
name: {{ database_volume }}
{% endif %}