diff --git a/defaults/main.yml b/defaults/main.yml index dc497e3..9adfe05 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -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 diff --git a/templates/compose.yaml b/templates/compose.yaml index 3a3111d..016271a 100644 --- a/templates/compose.yaml +++ b/templates/compose.yaml @@ -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