From 4994cf74eb84ccbd43ce456cb9d20db5059d6105 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sun, 13 Oct 2024 13:12:56 +0300 Subject: [PATCH] fix: kafka container health check --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index f481c36a..29626d1b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -31,7 +31,7 @@ services: networks: - jforwarder-network healthcheck: - test: [ "CMD-SHELL", "kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --list" ] + test: [ "CMD-SHELL","-c", "unset" , "JMX_PORT" ,";", "kafka-topics.sh --bootstrap-server 127.0.0.1:9092 --list" ] interval: 10s timeout: 5s retries: 5