added resource limit on mattermost
This commit is contained in:
@@ -16,6 +16,10 @@ services:
|
|||||||
- POSTGRES_USER
|
- POSTGRES_USER
|
||||||
- POSTGRES_PASSWORD
|
- POSTGRES_PASSWORD
|
||||||
- POSTGRES_DB
|
- POSTGRES_DB
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 256MB
|
||||||
|
|
||||||
mattermost:
|
mattermost:
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -44,4 +48,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:${APP_PORT}:8065
|
- 127.0.0.1:${APP_PORT}:8065
|
||||||
- ${CALLS_PORT}:${CALLS_PORT}/udp
|
- ${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