Skip to content

Commit ddbae6b

Browse files
authored
fix(docker): clickhouse healthcheck (#2462)
1 parent 2b095b1 commit ddbae6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hosting/docker/webapp/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ services:
154154
networks:
155155
- webapp
156156
healthcheck:
157-
test: ["CMD", "clickhouse-client", "--host", "localhost", "--port", "9000", "--user", "default", "--password", "password", "--query", "SELECT 1"]
157+
test: ["CMD", "clickhouse-client", "--host", "localhost", "--port", "9000", "--user", "${CLICKHOUSE_USER:-default}", "--password", "${CLICKHOUSE_PASSWORD:-password}", "--query", "SELECT 1"]
158158
interval: 5s
159159
timeout: 5s
160160
retries: 5

0 commit comments

Comments
 (0)