From 3405f3a8f954ae19c431dc4285cda5abdff7d83a Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 11 May 2025 11:26:49 +0200 Subject: [PATCH] Solved variable bugs for bb --- roles/docker-central-database/vars/database.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/docker-central-database/vars/database.yml b/roles/docker-central-database/vars/database.yml index e00717b2..0a6e163f 100644 --- a/roles/docker-central-database/vars/database.yml +++ b/roles/docker-central-database/vars/database.yml @@ -1,7 +1,7 @@ database_instance: "{{ 'central-' + database_type if applications | is_feature_enabled('central_database',application_id) else application_id }}" database_host: "{{ 'central-' + database_type if applications | is_feature_enabled('central_database',application_id) else 'database' }}" -database_name: "{{ applications[application_id].credentials.database.name | default( application_id ) }}" # The overwritte configuration is needed by bigbluebutton -database_username: "{{ applications[application_id].credentials.database.username | default( application_id )}}" # The overwritte configuration is needed by bigbluebutton +database_name: "{{ applications[application_id].database.name | default( application_id ) }}" # The overwritte configuration is needed by bigbluebutton +database_username: "{{ applications[application_id].database.username | default( application_id )}}" # The overwritte configuration is needed by bigbluebutton database_port: "{{ 3306 if database_type == 'mariadb' else 5432 }}" database_env: "{{docker_compose.directories.env}}{{database_type}}.env" database_url_jdbc: "jdbc:{{ database_type if database_type == 'mariadb' else 'postgresql' }}://{{ database_host }}:{{ database_port }}/{{ database_name }}"