added resource limit on mattermost
This commit is contained in:
@@ -16,6 +16,10 @@ services:
|
||||
- POSTGRES_USER
|
||||
- POSTGRES_PASSWORD
|
||||
- POSTGRES_DB
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 256MB
|
||||
|
||||
mattermost:
|
||||
depends_on:
|
||||
@@ -44,4 +48,9 @@ services:
|
||||
ports:
|
||||
- 127.0.0.1:${APP_PORT}:8065
|
||||
- ${CALLS_PORT}:${CALLS_PORT}/udp
|
||||
- ${CALLS_PORT}:${CALLS_PORT}/tcp
|
||||
- ${CALLS_PORT}:${CALLS_PORT}/tcp
|
||||
- POSTGRES_DB
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512MB
|
||||
Reference in New Issue
Block a user