Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +31 to +34
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should enforce these limits by default. I'm fine with documenting them in the README, but a default limit seems too much. There are cases where more than 8G are needed, e.g. for large servers.

read_only: ${MATTERMOST_CONTAINER_READONLY}
tmpfs:
- /tmp
Expand Down