Add configurable supplementary volumes for app service in Chill role

Added `supplementary_app_volumes` list parameter (default empty) to `default_chill` and implemented dynamic volume mounting in `compose.yaml` template for the `app` service.
This commit is contained in:
julienfastre committed 2026-11-27 16:21:29 +01:00
1 parent 9c4ec32ee3
commit 9aa4ad1ba4
2 files changed
+4

No files matched your search

+1
View File
@@ -27,6 +27,7 @@ default_chill:
rabbitmq_install: true
# mount the directory 'templates' (twig overrides) into the app containers. false = do not mount
load_template_override: false
supplementary_app_volumes: []
proxy_ips:
# 127.0.0.1 is always added
- 192.168.0.0/16
+3
View File
@@ -51,6 +51,9 @@ services:
- './templates:/var/www/app/templates:ro'
{% endif %}
- '{{ doc_storage_dir }}/{{ chill['chill_environment'] }}:/var/storage:rw'
{% for volume in chill.supplementary_app_volumes %}
- '{{ volume }}'
{% endfor %}
links:
- redis
- relatorio