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
-3
View File
@@ -101,7 +101,6 @@ services:
hard: 262144
volumes:
- ./data/clickhouse_data:/var/lib/clickhouse
# 仅含 performance.xml 的目录;不要在此目录放 listen 配置
- ./config/clickhouse:/etc/clickhouse-server/config.d:ro
healthcheck:
test: ["CMD", "clickhouse-client", "--user", "default", "--password", "123456", "--query", "SELECT 1"]
@@ -193,7 +192,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", "${CLICKHOUSE_USERNAME:-default}", "--password", "${CLICKHOUSE_PASSWORD:-replace-with-clickhouse-password}", "--query", "SELECT 1"]
@@ -312,7 +310,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", "${CLICKHOUSE_USERNAME:-default}", "--password", "${CLICKHOUSE_PASSWORD:-replace-with-clickhouse-password}", "--query", "SELECT 1"]