From 89328a827a0e5b2ad03f96fdbb9ec360b197c430 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Wed, 7 Sep 2022 07:20:30 +0100 Subject: [PATCH] Raise open files limit for Redis --- docker/docker-compose.prod.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/docker-compose.prod.yml b/docker/docker-compose.prod.yml index 7ff8920..d289e79 100644 --- a/docker/docker-compose.prod.yml +++ b/docker/docker-compose.prod.yml @@ -54,6 +54,11 @@ services: tmp: image: busybox command: chmod -R 777 /var/run/redis + ulimits: + nproc: 65535 + nofile: + soft: 65535 + hard: 65535 volumes: - /var/run/redis