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,8 @@
# This template needs to be included in docker-compose.yml
networks:
{% if enable_central_database | bool %}
central_{{ database_type }}:
external: true
{% endif %}
default:
{{ "\n" }}

View File

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

View File

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