|
|
@ -20,7 +20,7 @@ services:
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 37017:27017
|
|
|
|
- 37017:27017
|
|
|
|
container_name: mongo
|
|
|
|
container_name: mongo
|
|
|
|
command: --wiredTigerCacheSizeGB 1
|
|
|
|
command: --wiredTigerCacheSizeGB 1 --auth
|
|
|
|
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
|
|
|
|