mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Overall optimations for application id naming
This commit is contained in:
@@ -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 %}
|
||||
|
@@ -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) }}"
|
Reference in New Issue
Block a user