From 2bf240956794e311d4f95a08de01e1214154d8b3 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sat, 24 Feb 2024 22:34:04 +0100 Subject: [PATCH 1/2] Add RabbitMQ env vars --- docker/php/config/parameters.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/php/config/parameters.yml b/docker/php/config/parameters.yml index 859e83849..1de4f2dc3 100644 --- a/docker/php/config/parameters.yml +++ b/docker/php/config/parameters.yml @@ -35,10 +35,10 @@ parameters: rss_limit: 50 # RabbitMQ processing - rabbitmq_host: localhost - rabbitmq_port: 5672 - rabbitmq_user: guest - rabbitmq_password: guest + rabbitmq_host: ${RABBITMQ_HOST:-localhost} + rabbitmq_port: ${RABBITMQ_PORT:-5672} + rabbitmq_user: ${RABBITMQ_USER:-guest} + rabbitmq_password: ${RABBITMQ_PASSWORD:-guest} rabbitmq_prefetch_count: 10 # Redis processing From b9208dae5c62e0786a6a45ba5f4f0ed712ef06ee Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sat, 24 Feb 2024 22:41:35 +0100 Subject: [PATCH 2/2] Fix default RabbitMQ host on dev setup --- docker/php/config/parameters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/php/config/parameters.yml b/docker/php/config/parameters.yml index 1de4f2dc3..fa7573f9f 100644 --- a/docker/php/config/parameters.yml +++ b/docker/php/config/parameters.yml @@ -35,7 +35,7 @@ parameters: rss_limit: 50 # RabbitMQ processing - rabbitmq_host: ${RABBITMQ_HOST:-localhost} + rabbitmq_host: ${RABBITMQ_HOST:-rabbitmq} rabbitmq_port: ${RABBITMQ_PORT:-5672} rabbitmq_user: ${RABBITMQ_USER:-guest} rabbitmq_password: ${RABBITMQ_PASSWORD:-guest}