Increase zulip nofile limit to 40000 soft, 50000 hard.

To match zulip/puppet/zulip/files/limits.conf,
zulip/puppet/zulip/files/supervisor/supervisord.conf.  Otherwise we
inherit the Docker daemon’s limits, which are too small when Docker is
installed as a snap.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2018-12-04 01:31:39 +00:00
committed by Tim Abbott
parent c8f5aa264d
commit 3772b29238

View File

@@ -62,3 +62,7 @@ services:
# SETTING_PUSH_NOTIFICATION_BOUNCER_URL: 'https://push.zulipchat.com'
volumes:
- '/opt/docker/zulip/zulip:/data:rw'
ulimits:
nofile:
soft: 40000
hard: 50000