Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listen on ipv6 address #723

Merged
merged 9 commits into from
Jun 1, 2024
1 change: 1 addition & 0 deletions docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ ENV TZ UTC

RUN mkdir /docker-entrypoint-initdb.d

COPY docker_related_config.xml /etc/proton-server/config.d/
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

Expand Down
4 changes: 2 additions & 2 deletions docker/server/docker_related_config.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<clickhouse>
<proton>
<!-- Listen wildcard address to allow accepting connections from other containers and host network. -->
<listen_host>::</listen_host>
<listen_host>0.0.0.0</listen_host>
Expand All @@ -9,4 +9,4 @@
<console>1</console>
</logger>
-->
</clickhouse>
</proton>
6 changes: 0 additions & 6 deletions docker/server/docker_related_config.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion programs/server/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ interserver_http_port: 9009
# listen_host: '::'

# Same for hosts without support for IPv6:
listen_host: 0.0.0.0
chenziliang marked this conversation as resolved.
Show resolved Hide resolved
# listen_host: 0.0.0.0

# Default values - try listen localhost on IPv4 and IPv6.
# listen_host: '::1'
Expand Down
1 change: 0 additions & 1 deletion programs/server/embedded.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<postgresql_port>5432</postgresql_port>
<mysql_port>9004</mysql_port>
<interserver_http_port>9009</interserver_http_port>
<listen_host>0.0.0.0</listen_host>
<telemetry_enabled from_env="TELEMETRY_ENABLED" replace="true">true</telemetry_enabled>

<prometheus>
Expand Down
Loading