fix(docker): correct healthcheck commands for Redpanda and ClickHouse in docker-compose.yml

This commit is contained in:
2026-09-19 13:56:28 +03:30
parent c38c50e487
commit 9648620963

View File

@@ -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