diff --git a/roles/web-app-pixelfed/templates/env.j2 b/roles/web-app-pixelfed/templates/env.j2 index 79d64733..5e935830 100644 --- a/roles/web-app-pixelfed/templates/env.j2 +++ b/roles/web-app-pixelfed/templates/env.j2 @@ -2,7 +2,7 @@ APP_KEY={{applications | get_app_conf(application_id, 'credentials.app_key', True)}} ## General Settings -APP_NAME="{{applications.pixelfed.titel}}" +APP_NAME="{{ pixelfed_titel }}" APP_ENV={{ CYMAIS_ENVIRONMENT | lower }} APP_DEBUG={{enable_debug | string | lower }} APP_URL={{ domains | get_url(application_id, web_protocol) }} diff --git a/roles/web-app-pixelfed/vars/main.yml b/roles/web-app-pixelfed/vars/main.yml index 55e65fd3..430ae326 100644 --- a/roles/web-app-pixelfed/vars/main.yml +++ b/roles/web-app-pixelfed/vars/main.yml @@ -6,3 +6,4 @@ pixelfed_image: "{{ applications | get_app_conf(application_id, 'doc pixelfed_name: "{{ applications | get_app_conf(application_id, 'docker.services.pixelfed.name', True) }}" pixelfed_worker_name: "{{ applications | get_app_conf(application_id, 'docker.services.worker.name', True) }}" pixelfed_volume: "{{ applications | get_app_conf(application_id, 'docker.volumes.data', True) }}" +pixelfed_titel: "{{ applications | get_app_conf(application_id, 'titel', True) }}"