Custom Name
Set CLICKHOUSE_NAME to give each ClickHouse host a human-readable label. The label appears in the host selector dropdown in the dashboard header.
Configuration
Section titled “Configuration”CLICKHOUSE_HOST=http://ch-1:8123,http://ch-2:8123,http://ch-3:8123CLICKHOUSE_NAME=Production,Staging,DevThe number of comma-separated values must match CLICKHOUSE_HOST. Position N in CLICKHOUSE_NAME labels host index N.
If CLICKHOUSE_NAME is not set, hosts are labeled by index: Host 0, Host 1, etc.
Docker
Section titled “Docker”docker run -d \ -e CLICKHOUSE_HOST='http://ch-1:8123,http://ch-2:8123' \ -e CLICKHOUSE_NAME='Production,Staging' \ -e CLICKHOUSE_USER='default' \ -e CLICKHOUSE_PASSWORD='' \ -p 3000:3000 \ ghcr.io/duyet/chmonitor:vX.Y.ZKubernetes / Helm
Section titled “Kubernetes / Helm”env: - name: CLICKHOUSE_HOST value: "http://ch-1:8123,http://ch-2:8123" - name: CLICKHOUSE_NAME value: "Production,Staging"See Multiple Hosts for full multi-host setup.