docs(docker): use ./config/clickhouse for CH performance mount

Move performance.xml to config/clickhouse and mount the directory to
/etc/clickhouse-server/config.d; update docs and compose paths.
This commit is contained in:
ryan
2026-07-10 11:10:32 +08:00
parent 4b83f91b31
commit 44ce6497a1
5 changed files with 3 additions and 13 deletions
-1
View File
@@ -115,7 +115,6 @@ services:
hard: 262144
volumes:
- openflare_clickhouse_data:/var/lib/clickhouse
# 目录内仅 performance.xml;不要放 listen 配置
- ./config/clickhouse:/etc/clickhouse-server/config.d:ro
healthcheck:
test: ["CMD", "clickhouse-client", "--user", "default", "--password", "${CLICKHOUSE_PASSWORD:-replace-with-clickhouse-password}", "--query", "SELECT 1"]