From 9648620963895fb7c7cebdf144e86b4c98c78b81 Mon Sep 17 00:00:00 2001 From: Amirhossein Khalili Date: Sat, 19 Sep 2026 13:56:28 +0330 Subject: [PATCH] fix(docker): correct healthcheck commands for Redpanda and ClickHouse in docker-compose.yml --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2c404b7..30be86a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,7 +19,7 @@ services: - "9092:9092" - "9644:9644" healthcheck: - test: ["CMD-SHELL", "rpk cluster health --brokers=localhost:9092 | grep -q 'Healthy:.*true' || exit 1"] + test: ["CMD", "rpk", "cluster", "health"] interval: 5s timeout: 5s retries: 12 @@ -56,7 +56,7 @@ services: volumes: - ./docker/clickhouse/init.sql:/docker-entrypoint-initdb.d/init.sql:ro healthcheck: - test: ["CMD", "wget", "--spider", "-q", "http://localhost:8123/ping"] + test: ["CMD", "clickhouse-client", "--query", "SELECT 1"] interval: 5s timeout: 5s retries: 10