compose limit memory

This commit is contained in:
Gordon 2022-06-21 19:46:58 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent f3f014c170
commit 6655a4135c

View File

@ -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