From 4689e35817e6390cbc5c7791548bdc79f9410dbc Mon Sep 17 00:00:00 2001 From: dtuantran Date: Thu, 21 Dec 2023 16:25:18 +0100 Subject: [PATCH] Update docker-compose.yml for rabbitmq with consumer_timeout environment variable --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c7b55e8a1..ce0b4235c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '2' +version: '3' services: # -------------------------------------------------------------------------- # HTTP Server @@ -58,6 +58,7 @@ services: environment: - RABBITMQ_LOGS=/var/log/rabbitmq/output.log - RABBITMQ_SASL_LOGS=/var/log/rabbitmq/output_sasl.log + - WORKER_CONNECTION_TIMEOUT="${WORKER_CONNECTION_TIMEOUT:-100000000}" env_file: .env volumes: - ./docker:/app/docker