compose limit memory

pull/455/head
Gordon 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent f3f014c170
commit 6655a4135c

@ -20,6 +20,7 @@ services:
ports:
- 37017:27017
container_name: mongo
command: --wiredTigerCacheSizeGB 5
volumes:
- ./components/mongodb/data/db:/data/db
- ./components/mongodb/data/logs:/data/logs

Loading…
Cancel
Save