Removed buggy variable mapping

This commit is contained in:
2024-01-03 12:07:19 +01:00
parent 509914fb86
commit 9c81a48f17
33 changed files with 34 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
# This template needs to be included in docker-compose.yml
networks:
{% if enable_central_database %}
{% if enable_central_database | bool %}
central_{{ database_type }}_network:
external: true
{% endif %}

View File

@@ -1,5 +1,5 @@
# This needs to be included in docker-compose.yml which just contain a database volume
{% if not enable_central_database %}
{% if not enable_central_database | bool %}
volumes:
database:
{% endif %}

View File

@@ -1,5 +1,5 @@
# This template needs to be included in docker-compose.yml which contain a database and additional volumes
volumes:
{% if not enable_central_database %}
{% if not enable_central_database | bool %}
database:
{% endif %}

View File

@@ -1,6 +1,6 @@
# This template needs to be included in docker-compose.yml containers which depend on a database and additional containers
depends_on:
{% if enable_central_database %}
{% if enable_central_database | bool %}
database:
condition: service_healthy
{% endif %}

View File

@@ -1,6 +1,6 @@
# This template needs to be included in docker-compose.yml contaienrs, which depend on a database, redis and optional additional volumes
depends_on:
{% if enable_central_database %}
{% if enable_central_database | bool %}
database:
condition: service_healthy
{% endif %}

View File

@@ -1,5 +1,5 @@
# This template needs to be included in docker-compose.yml contaienrs, which just depend on a database
{% if enable_central_database %}
{% if enable_central_database | bool %}
depends_on:
database:
condition: service_healthy

View File

@@ -1,6 +1,6 @@
# This template needs to be included in docker-compose.yml containers
networks:
- {{docker_compose_project_name}}_network
{% if enable_central_database %}
{% if enable_central_database | bool %}
- central_{{ database_type }}_network
{% endif %}

View File

@@ -1,5 +1,5 @@
# This template needs to be included in docker-compose.yml, which depend on a mariadb database
{% if not enable_central_database %}
{% if not enable_central_database | bool %}
database:
logging:
driver: journald

View File

@@ -1,5 +1,5 @@
# This template needs to be included in docker-compose.yml, which depend on a postgres database
{% if not enable_central_database %}
{% if not enable_central_database | bool %}
database:
image: postgres:{{database_version}}-alpine
environment: