Added soft and hard ulimit for ClickHouse.

This commit is contained in:
2022-12-29 16:36:13 +01:00
parent 6fe122ec04
commit 47cc8efeb7

View File

@@ -8,6 +8,10 @@ services:
image: clickhouse/clickhouse-server:22-alpine image: clickhouse/clickhouse-server:22-alpine
container_name: clickhouse container_name: clickhouse
restart: unless-stopped restart: unless-stopped
ulimits:
nofile:
soft: 10000
hard: 20000
ports: ports:
- 8123:8123 - 8123:8123
- 9000:9000 - 9000:9000