compose limit memory

This commit is contained in:
Gordon 2022-06-21 19:46:58 +08:00
parent b5c20f5be9
commit 0fe838d588

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