mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 03:26:57 +08:00
compose limit memory
This commit is contained in:
parent
b5c20f5be9
commit
0fe838d588
@ -20,6 +20,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 37017:27017
|
- 37017:27017
|
||||||
container_name: mongo
|
container_name: mongo
|
||||||
|
command: --wiredTigerCacheSizeGB 5
|
||||||
volumes:
|
volumes:
|
||||||
- ./components/mongodb/data/db:/data/db
|
- ./components/mongodb/data/db:/data/db
|
||||||
- ./components/mongodb/data/logs:/data/logs
|
- ./components/mongodb/data/logs:/data/logs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user