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.
This commit is contained in:
2026-01-27 16:21:34 +01:00
parent 38a3d44897
commit 43a8ccff28
4 changed files with 12 additions and 0 deletions
+5
View File
@@ -2,6 +2,7 @@
framework:
messenger:
transports:
{% if chill.rabbitmq_install +%}
async:
dsn: '%env(RABBITMQ_URL)%/async'
options:
@@ -12,5 +13,9 @@ framework:
async: ~
auto_setup: true
priority: '%env(RABBITMQ_URL)%/priority'
{% else +%}
async: 'doctrine://default'
priority: 'doctrine://default'
{% endif +%}
failed: 'doctrine://default?queue_name=failed'
sync: 'sync://'