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 %}

View File

@@ -1,2 +1,2 @@
# @See https://chatgpt.com/share/67a23d18-fb54-800f-983c-d6d00752b0b4
docker_compose: "{{ path_docker_compose_instances | get_docker_paths(application_id) }}"
docker_compose: "{{ application_id | get_docker_paths(path_docker_compose_instances) }}"