|
|
|
@ -12,7 +12,7 @@ services:
|
|
|
|
|
container_name: mongo
|
|
|
|
|
command: ["/bin/bash", "-c", "/docker-entrypoint-initdb.d/mongo-init.sh; docker-entrypoint.sh mongod --wiredTigerCacheSizeGB 1 --auth"]
|
|
|
|
|
volumes:
|
|
|
|
|
- "${DATA_DIR}/components/mongodb/data/storage:/data/storage"
|
|
|
|
|
- "${DATA_DIR}/components/mongodb/data/db:/data/db"
|
|
|
|
|
- "${DATA_DIR}/components/mongodb/data/logs:/data/logs"
|
|
|
|
|
- "${DATA_DIR}/components/mongodb/data/conf:/etc/mongo"
|
|
|
|
|
- "./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro"
|
|
|
|
|