mirror of
https://github.com/plausible/hosting.git
synced 2025-01-15 14:34:30 -06:00
inline ch config
This commit is contained in:
parent
e9c473ee2b
commit
040d33a76c
@ -1,4 +0,0 @@
|
||||
<clickhouse>
|
||||
<!-- Fixes "Listen [::]:9000 failed: Address family for hostname not supported". -->
|
||||
<listen_host>0.0.0.0</listen_host>
|
||||
</clickhouse>
|
@ -19,7 +19,11 @@ services:
|
||||
- event-logs:/var/log/clickhouse-server
|
||||
- ./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.
|
||||
- ./clickhouse/ipv4.xml:/etc/clickhouse-server/config.d/ipv4.xml:ro
|
||||
# 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>"
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 262144
|
||||
@ -38,8 +42,8 @@ services:
|
||||
condition: service_healthy
|
||||
plausible_events_db:
|
||||
condition: service_healthy
|
||||
# Note that setting ports opens firewall for external access.
|
||||
ports:
|
||||
# Note that setting ports opens firewall for external access.
|
||||
- 80:80
|
||||
- 443:443
|
||||
volumes:
|
||||
|
Loading…
Reference in New Issue
Block a user