From 79e15971a0dd7454fb7df14d8b943aa9e9776b87 Mon Sep 17 00:00:00 2001 From: Mohammad Javad Naderi Date: Thu, 28 Sep 2023 19:16:45 +0330 Subject: [PATCH] Fix OOM (Out Of Memory) Errors --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e50d7a9..834ff84 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: restart: ${RESTART_POLICY} security_opt: - no-new-privileges:true - pids_limit: 100 + pids_limit: 200 read_only: true tmpfs: - /tmp @@ -31,7 +31,7 @@ services: restart: ${RESTART_POLICY} security_opt: - no-new-privileges:true - pids_limit: 200 + pids_limit: 400 read_only: ${MATTERMOST_CONTAINER_READONLY} tmpfs: - /tmp