Update docker-compose.yml

- Increased pid_limit to mattermost container which low value caused vary plugin crashes and unableing to use mmctl inside container
- Added memory limitation to mattermost container for preventing potential memory leaks
This commit is contained in:
Vadim Klimchuk 2022-09-30 14:49:17 +03:00 committed by GitHub
parent 1f2adc1aeb
commit 75ac56a497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,10 @@ services:
restart: ${RESTART_POLICY}
security_opt:
- no-new-privileges:true
pids_limit: 200
pids_limit: 500
mem_reservation: 2G
mem_limit: 8G
memswap_limit: 2G
read_only: ${MATTERMOST_CONTAINER_READONLY}
tmpfs:
- /tmp