mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Replaced enable_central_database by configuration in application
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# This template needs to be included in docker-compose.yml
|
||||
{# This template needs to be included in docker-compose.yml #}
|
||||
networks:
|
||||
{% if enable_central_database | bool and database_type is defined %}
|
||||
{% if applications[application_id].database.central_storage | bool and database_type is defined %}
|
||||
central_{{ database_type }}:
|
||||
external: true
|
||||
{% endif %}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
# This needs to be included in docker-compose.yml which just contain a database volume
|
||||
{% if not enable_central_database | bool %}
|
||||
{# This needs to be included in docker-compose.yml which just contain a database volume #}
|
||||
{% if not applications[application_id].database.central_storage | bool %}
|
||||
volumes:
|
||||
database:
|
||||
{% endif %}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# This template needs to be included in docker-compose.yml which contain a database and additional volumes
|
||||
{# This template needs to be included in docker-compose.yml which contain a database and additional volumes #}
|
||||
volumes:
|
||||
{% if not enable_central_database | bool %}
|
||||
{% if not applications[application_id].database.central_storage | bool %}
|
||||
database:
|
||||
{% endif %}
|
||||
{{ "\n" }}
|
Reference in New Issue
Block a user