Restructured code and matrix rol

This commit is contained in:
2024-01-19 15:12:18 +01:00
parent 0aebca62f6
commit c4209f0559
64 changed files with 249 additions and 224 deletions

View File

@@ -0,0 +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 %}
{{ "\n" }}

View File

@@ -0,0 +1,9 @@
# 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 %}
database:
condition: service_healthy
{% endif %}
redis:
condition: service_healthy
{{ "\n" }}

View File

@@ -0,0 +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 %}
{{ "\n" }}

View File

@@ -0,0 +1,7 @@
# This template needs to be included in docker-compose.yml containers
networks:
{% if enable_central_database | bool %}
central_{{ database_type }}:
{% endif %}
default:
{{ "\n" }}