mirror of
https://github.com/mattermost/docker.git
synced 2024-10-18 02:35:54 +00:00
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:
parent
1f2adc1aeb
commit
75ac56a497
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user