Solved database feature naming bug

This commit is contained in:
2025-05-09 19:00:01 +02:00
parent e7c193f409
commit 27bfee2438
19 changed files with 26 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
# This template needs to be included in docker-compose.yml, which depend on a mariadb database
{% if not applications[application_id].features.database | bool %}
{% if not applications | is_feature_enabled('central_database',application_id) %}
database:
container_name: {{application_id}}-database
logging:

View File

@@ -1,5 +1,5 @@
# This template needs to be included in docker-compose.yml, which depend on a postgres database
{% if not applications[application_id].features.database | bool %}
{% if not applications | is_feature_enabled('central_database',application_id) %}
database:
image: postgres:{{applications.postgres.version}}-alpine
container_name: {{application_id}}-database