Commit 2eead09b authored by tianye's avatar tianye

修改mongodb-compose文件

parent 020023b1
...@@ -17,5 +17,5 @@ services: ...@@ -17,5 +17,5 @@ services:
volumes: volumes:
- /etc/localtime:/etc/localtime - /etc/localtime:/etc/localtime
- $PWD/data/mongo_data:/data/db - $PWD/data/mongo_data:/data/db
- $PWD/data/mongo_init.d/:/docker-entrypoint-initdb.d/ - $PWD/conf/init.sh:/docker-entrypoint-initdb.d/init.sh:ro
command: mongod command: mongod
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment