Semi bsr for applications[] to prevent heavy to debug bugs in j2 - part 1

This commit is contained in:
2025-07-13 15:11:38 +02:00
parent 4cc4195fab
commit 756597668c
107 changed files with 277 additions and 277 deletions

View File

@@ -1,7 +1,7 @@
{% include 'roles/docker-compose/templates/base.yml.j2' %}
application:
image: "{{ applications[application_id].images.pixelfed }}"
image: "{{ applications | get_app_conf(application_id, 'images.pixelfed', True) }}"
{% include 'roles/docker-container/templates/base.yml.j2' %}
volumes:
- "data:/var/www/storage"
@@ -11,7 +11,7 @@
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
{% include 'roles/docker-container/templates/networks.yml.j2' %}
worker:
image: "{{ applications[application_id].images.pixelfed }}"
image: "{{ applications | get_app_conf(application_id, 'images.pixelfed', True) }}"
{% include 'roles/docker-container/templates/base.yml.j2' %}
volumes:
- "data:/var/www/storage"

View File

@@ -1,5 +1,5 @@
## Crypto
APP_KEY={{applications[application_id].credentials.app_key}}
APP_KEY={{applications | get_app_conf(application_id, 'credentials.app_key', True)}}
## General Settings
APP_NAME="{{applications.pixelfed.titel}}"