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:
2 files changed
+4
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user