fix(docker): preserve clickhouse listener config

This commit is contained in:
ryan
2026-07-12 12:28:34 +08:00
parent 13c5073bf8
commit c8b1289043
6 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ services:
- "9000:9000"
volumes:
- ./data/clickhouse_data:/var/lib/clickhouse
- ./config/clickhouse:/etc/clickhouse-server/config.d:ro
- ./config/clickhouse/performance.xml:/etc/clickhouse-server/config.d/performance.xml:ro
healthcheck:
test: ["CMD", "clickhouse-client", "--user", "${CLICKHOUSE_USERNAME:-default}", "--password", "${CLICKHOUSE_PASSWORD:-replace-with-clickhouse-password}", "--query", "SELECT 1"]
interval: 10s