fix(docker): clickhouse healthcheck (#2462)

This commit is contained in:
Willow (GHOST)
2025-09-01 20:20:17 +01:00
committed by GitHub
parent 2b095b1072
commit ddbae6b6b4
+1 -1
View File
@@ -154,7 +154,7 @@ services:
networks:
- webapp
healthcheck:
test: ["CMD", "clickhouse-client", "--host", "localhost", "--port", "9000", "--user", "default", "--password", "password", "--query", "SELECT 1"]
test: ["CMD", "clickhouse-client", "--host", "localhost", "--port", "9000", "--user", "${CLICKHOUSE_USER:-default}", "--password", "${CLICKHOUSE_PASSWORD:-password}", "--query", "SELECT 1"]
interval: 5s
timeout: 5s
retries: 5