Commit Graph
24 Commits
Author SHA1 Message Date
julienfastreandClaude Sonnet 5.5 1dc092f87f Fix indentation of rendered compose.yaml
Jinja control tags are now at column 0 without whitespace modifiers: with
trim_blocks, the whole tag line disappears and no stray spaces are added
before the following line.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VnXP3D1srf5k8MrtPFUz93
2026-11-20 15:55:22 +01:00
julienfastreandClaude Sonnet 5.5 c699983b80 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
2026-11-18 15:25:34 +01:00
julienfastre 7e0847d1c5 Merge remote-tracking branch 'origin/main' into adaptation-202601 2026-11-18 15:06:13 +01:00
julienfastre bc8caf530b Configure Docker Compose logging with json-file driver
Added logging configuration to all services in `compose.yaml` with json-file driver. Set max-size to 50m for `app` service and 10m for `nginx`, `postgres`, `relatorio`, and `gotenberg` services, with max-file of 3 for log rotation.
2026-11-18 13:36:12 +01:00
juminet e2ee54f616 Increase the php memory limit from 2G to 3G for the messenger:consume command, for exports 2026-09-29 11:10:32 +02:00
juminet d1bd62529d add a volume mounted for the app container, for the templates (eg, the sms template) 2026-09-07 16:35:59 +02:00
julienfastre 0dcd51b601 adapt role: the image should not be run as root, but with user with id 82. 2026-05-15 15:15:24 +02:00
julienfastre 8ccb88503a Update messenger consumer shell command for preserved environment variables
Replaced `su` with `su -p` in `compose.yaml` to ensure the environment variables of the parent shell are preserved when running the messenger consumer.
2026-04-18 01:00:36 +02:00
julienfastre 43a8ccff28 Make RabbitMQ integration optional in Chill configuration
Introduced a new `rabbitmq_install` variable to conditionally enable RabbitMQ components in `compose.yaml`, `messenger.yaml`, and `env_file.env`. Updated related Ansible tasks to respect this variable.
2026-01-27 16:21:34 +01:00
julienfastre 92ca7f27ab Add optional port exposure for chill service in compose.yaml 2026-01-20 17:07:42 +01:00
julienfastre 64d0a63e68 handle traefik_install variables, and set default values for each chill configuration 2026-01-20 16:33:32 +01:00
julienfastre 4cef67a91d Add "managed by Ansible" notice to all template files
Included comments at the top of all template files indicating that they are managed by Ansible and should not be edited manually. This ensures clarity and avoids unintended manual modifications.
2025-09-11 11:01:50 +02:00
julienfastre d1cf7d363a Set CLEAR_CACHE environment variable and update consumer command in compose.yaml 2025-09-11 11:01:39 +02:00
julienfastre 7805b074f0 Handle consumer exit status in compose.yaml
Updated the `messenger:consume` command in `compose.yaml` to run as the `PHP_FPM_USER` and added error handling to stop the container if the consumer exits with a non-zero status.
2025-09-10 18:41:44 +02:00
julienfastre 3ba13cf00d Parameterize image names in compose.yaml
Replaced hardcoded image names in the `compose.yaml` file with variables defined in `vars/main.yml`. This makes the configuration more flexible and easier to customize.
2025-08-28 15:16:32 +02:00
julienfastre c572d68eb4 Fix logging paths and permissions for chill role configuration
Corrected log file paths in Monolog configuration and Compose file for consistency. Updated directory permissions in tasks to allow group write access. These changes improve log file organization and facilitate better collaboration.
2025-01-13 10:52:15 +01:00
julienfastre cc82c7b2c5 Fix volume mount options in compose.yaml
Updated volume mounts to correct permissions and paths. Ensured writable access for logs and storage directories to avoid runtime issues.
2025-01-10 14:03:27 +01:00
julienfastre 76dfaf5d93 Update configs for trusted proxies, HTTPS, and log paths
Revised proxy settings to dynamically include trusted IPs and ensured HTTPS redirections. Adjusted log mount path in Docker compose to align with application structure. Removed unused Traefik certificate volume for cleanup.
2025-01-10 12:49:43 +01:00
julienfastre 22cfb03984 storage configuration and restart containers 2025-01-07 10:56:24 +01:00
julienfastre 07a9f4bf4d set up cronjob and timer 2024-12-30 13:19:45 +01:00
julienfastre cf62dcc707 set up worker for async tasks 2024-12-30 12:34:33 +01:00
julienfastre c6b32d6005 ssl / tsl and storage of document 2024-12-30 11:37:55 +01:00
julienfastre bf2e38ad51 expose port for chill and add missing variables and parameters 2024-12-20 13:13:44 +01:00
julienfastre a53e62dd9e set-up the role 2024-12-19 11:05:25 +01:00