mirror of
https://github.com/plausible/hosting.git
synced 2025-01-15 06:24:30 -06:00
back to files
This commit is contained in:
parent
dddf076d50
commit
a009f15005
3
clickhouse/ipv4-only.xml
Normal file
3
clickhouse/ipv4-only.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<clickhouse>
|
||||
<listen_host>0.0.0.0</listen_host>
|
||||
</clickhouse>
|
@ -20,10 +20,7 @@ services:
|
||||
- ./clickhouse/logs.xml:/etc/clickhouse-server/config.d/logs.xml:ro
|
||||
# This makes ClickHouse bind to IPv4 only, since Docker doesn't enable IPv6 in bridge networks by default.
|
||||
# Fixes "Listen [::]:9000 failed: Address family for hostname not supported" warnings.
|
||||
- type: bind
|
||||
read_only: true
|
||||
target: /etc/clickhouse-server/config.d/ipv4-only.xml
|
||||
content: "<clickhouse><listen_host>0.0.0.0</listen_host></clickhouse>"
|
||||
- ./clickhouse/ipv4-only.xml:/etc/clickhouse-server/config.d/ipv4-only.xml:ro
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 262144
|
||||
|
Loading…
Reference in New Issue
Block a user