|
|
@ -24,7 +24,7 @@ services:
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/db:/data/db
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/db:/data/db
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/logs:/data/logs
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/logs:/data/logs
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/conf:/etc/mongo
|
|
|
|
- ${DATA_DIR}/components/mongodb/data/conf:/etc/mongo
|
|
|
|
- ./script/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro
|
|
|
|
- ./scripts/mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
# cache
|
|
|
|
# cache
|
|
|
|