mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added linebreaks to prevent j2 rendering bug
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml
|
||||
networks:
|
||||
{% if enable_central_database | bool %}
|
||||
central_{{ database_type }}_network:
|
||||
external: true
|
||||
{% endif %}
|
||||
{{docker_compose_project_name}}_network:
|
||||
{{docker_compose_project_name}}_network:
|
||||
|
@@ -1,5 +1,6 @@
|
||||
|
||||
# This needs to be included in docker-compose.yml which just contain a database volume
|
||||
{% if not enable_central_database | bool %}
|
||||
volumes:
|
||||
database:
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -1,5 +1,6 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml which contain a database and additional volumes
|
||||
volumes:
|
||||
{% if not enable_central_database | bool %}
|
||||
database:
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml containers which depend on a database and additional containers
|
||||
depends_on:
|
||||
{% if not enable_central_database | bool %}
|
||||
database:
|
||||
condition: service_healthy
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -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
|
||||
depends_on:
|
||||
{% if not enable_central_database | bool %}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml contaienrs, which just depend on a database
|
||||
{% if not enable_central_database | bool %}
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml containers
|
||||
networks:
|
||||
{{docker_compose_project_name}}_network:
|
||||
{% if enable_central_database | bool %}
|
||||
central_{{ database_type }}_network:
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -1,3 +1,4 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml, which depend on a mariadb database
|
||||
{% if not enable_central_database | bool %}
|
||||
database:
|
||||
@@ -21,4 +22,4 @@
|
||||
retries: 5
|
||||
networks:
|
||||
- {{docker_compose_project_name}}_network
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -1,3 +1,4 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml, which depend on a postgres database
|
||||
{% if not enable_central_database | bool %}
|
||||
database:
|
||||
@@ -19,4 +20,4 @@
|
||||
target: /var/lib/postgresql/data
|
||||
networks:
|
||||
- {{docker_compose_project_name}}_network
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
@@ -1,3 +1,4 @@
|
||||
|
||||
# This template needs to be included in docker-compose.yml, which depend on redis
|
||||
redis:
|
||||
image: redis:alpine
|
||||
@@ -12,4 +13,4 @@
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
networks:
|
||||
- {{docker_compose_project_name}}_network
|
||||
- {{docker_compose_project_name}}_network
|
||||
|
Reference in New Issue
Block a user