Disable IPv6 in Clickhouse config (#137)

This commit is contained in:
Raymon Mens 2024-06-16 21:27:46 +02:00 committed by GitHub
parent 8152c57c31
commit 92f2445fbe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,13 @@
<console>true</console>
</logger>
<!--
Avoid the warning: "Listen [::]:9009 failed: Address family for hostname not supported".
If Docker has IPv6 disabled, bind ClickHouse to IPv4 to prevent this issue.
Add this to the configuration to ensure it listens on all IPv4 interfaces:
<listen_host>0.0.0.0</listen_host>
-->
<!-- Stop all the unnecessary logging -->
<query_thread_log remove="remove"/>
<query_log remove="remove"/>