From a0396e0ffe2f913f16b25b491fa7c691a251350c Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Wed, 9 Mar 2022 14:46:20 +0300 Subject: [PATCH] added healthcheck to rabbitmq --- etc/docker/docker-compose.infrastructure.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/docker/docker-compose.infrastructure.yml b/etc/docker/docker-compose.infrastructure.yml index a10cba26..ecc3d49f 100644 --- a/etc/docker/docker-compose.infrastructure.yml +++ b/etc/docker/docker-compose.infrastructure.yml @@ -4,6 +4,11 @@ services: rabbitmq: container_name: rabbitmq image: rabbitmq:management-alpine + healthcheck: + test: rabbitmq-diagnostics -q ping + interval: 30s + timeout: 30s + retries: 3 networks: - eshoponabp-network