added deploy resouce limit
This commit is contained in:
parent
98b057ef28
commit
28711ebb45
|
|
@ -79,4 +79,13 @@ networks:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
mealie-data:
|
mealie-data:
|
||||||
mealie-pgdata:
|
driver: local
|
||||||
|
mealie-pgdata:
|
||||||
|
driver: local
|
||||||
|
deploy: # works with docker-compose + swarm mode, also respected by Docker Desktop
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '1.0'
|
||||||
|
memory: 1024M
|
||||||
|
reservations:
|
||||||
|
memory: 512M
|
||||||
Loading…
Reference in a new issue