Add optional mount of template overrides and use chill in env templates

- add `load_template_override` (default false) to `default_chill`: controls
  the creation and the mount of the `templates` directory
- use `chill.chill_config` instead of `item.chill_config` in env_file.env,
  rabbitmq.env and postgres.env

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VnXP3D1srf5k8MrtPFUz93
This commit is contained in:
julienfastreandClaude Sonnet 5.5 committed 2026-11-18 15:25:34 +01:00
1 parent 7e0847d1c5
commit c699983b80
6 files changed
+21 -9

No files matched your search

+2
View File
@@ -50,7 +50,9 @@ services:
volumes:
- './config/prod:/var/www/app/config/packages/prod:ro'
- '/var/log/chill:/var/www/app/var/log:rw'
{% if chill.load_template_override +%}
- './templates:/var/www/app/templates:ro'
{%+ endif %}
- '{{ doc_storage_dir }}/{{ chill['chill_environment'] }}:/var/storage:rw'
links:
- redis