Skip to content

Commit

Permalink
fix ports
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsofun committed Jun 6, 2022
1 parent ffa4469 commit 31fcbbc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/doc/10-deploy/00-local.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ clickhouse_handler_port = 9001

# Query ClickHouse HTTP Handler.
clickhouse_http_handler_host = "127.0.0.1"
clickhouse_http_handler_port = 9001
clickhouse_http_handler_port = 8125

# Query HTTP Handler.
http_handler_host = "127.0.0.1"
Expand Down
4 changes: 2 additions & 2 deletions docs/doc/50-manage/01-query/10-query-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ If `endpoints` is configured, the `address` configuration will no longer take ef

### clickhouse_http_handler_host

* The IP address to listen on for ClickHouse handler, e.g., `0.0.0.0`.
* The IP address to listen on for ClickHouse HTTP handler, e.g., `0.0.0.0`.
* Default: `"127.0.0.1"`
* Env variable: `QUERY_CLICKHOUSE_HTTP_HANDLER_HOST`

### clickhouse_http_handler_port

* The port to listen on for ClickHouse handler, e.g., `8124`.
* The port to listen on for ClickHouse HTTP handler, e.g., `8124`.
* Default: `8124`
* Env variable: `QUERY_CLICKHOUSE_HTTP_HANDLER_PORT`

Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/deploy/config/databend-query-embedded-meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ mysql_handler_port = 3307
clickhouse_handler_host = "0.0.0.0"
clickhouse_handler_port = 9001

# Databend Query ClickHouse Handler.
# Databend Query ClickHouse HTTP Handler.
clickhouse_http_handler_host = "0.0.0.0"
clickhouse_http_handler_port = 8127
clickhouse_http_handler_port = 8125

# Databend Query HTTP Handler.
http_handler_host = "0.0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/kubernetes/query-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ spec:
- name: QUERY_CLICKHOUSE_HTTP_HANDLER_HOST
value: "0.0.0.0"
- name: QUERY_CLICKHOUSE_HTTP_HANDLER_PORT
value: "9000"
value: "8124"
- name: QUERY_FLIGHT_API_ADDRESS
value: "$(POD_IP):9090"
envFrom:
Expand Down

0 comments on commit 31fcbbc

Please sign in to comment.