add network config

This commit is contained in:
ruslandoga 2023-01-15 20:15:26 +07:00
parent 5097a507fc
commit 2d0d36970f
2 changed files with 5 additions and 2 deletions

4
clickhouse/network.xml Normal file
View File

@ -0,0 +1,4 @@
<clickhouse>
<listen_host>0.0.0.0</listen_host>
<keep_alive_timeout>10</keep_alive_timeout>
</clickhouse>

View File

@ -18,8 +18,7 @@ services:
restart: always restart: always
volumes: volumes:
- event-data:/var/lib/clickhouse - event-data:/var/lib/clickhouse
- ./clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro - ./clickhouse:/etc/clickhouse-server/config.d
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
ulimits: ulimits:
nofile: nofile:
soft: 262144 soft: 262144