Added linebreaks to prevent j2 rendering bug

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-04 10:15:46 +01:00
parent be2848b01f
commit 51f47f158e
11 changed files with 20 additions and 10 deletions

View File

@ -18,7 +18,7 @@ services:
MYSQL_USER: "{{database_username}}" MYSQL_USER: "{{database_username}}"
MYSQL_PASSWORD: "{{database_password}}" MYSQL_PASSWORD: "{{database_password}}"
MYSQL_HOST: {{database_host}}:3306 MYSQL_HOST: {{database_host}}:3306
{% include 'templates/docker-container-depends-on-just-database.yml.j2' %} {% include 'templates/docker-container-depends-on-database-redis.yml.j2' %}
{% include 'templates/docker-container-networks.yml.j2' %} {% include 'templates/docker-container-networks.yml.j2' %}
web: web:

View File

@ -1,3 +1,4 @@
# This template needs to be included in docker-compose.yml # This template needs to be included in docker-compose.yml
networks: networks:
{% if enable_central_database | bool %} {% if enable_central_database | bool %}

View File

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

View File

@ -1,3 +1,4 @@
# 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: volumes:
{% if not enable_central_database | bool %} {% if not enable_central_database | bool %}

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
# This template needs to be included in docker-compose.yml containers # This template needs to be included in docker-compose.yml containers
networks: networks:
{{docker_compose_project_name}}_network: {{docker_compose_project_name}}_network:

View File

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

View File

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

View File

@ -1,3 +1,4 @@
# This template needs to be included in docker-compose.yml, which depend on redis # This template needs to be included in docker-compose.yml, which depend on redis
redis: redis:
image: redis:alpine image: redis:alpine