@@ -11,7 +11,7 @@ target:
# mongodb port
port: 27017
# mongodb database name, leave blank to backup all databases
- database: "comm"
+ database: ""
# leave blank if auth is not enabled
username: "root"
password: "alpha"
@@ -15,7 +15,7 @@ services:
ports:
- 8090:8090
volumes:
- - ./mgob/config:/config
- - ./mgob/storage:/storage
- - ./mgob/tmp:/tmp
- - ./mgob/data:/data
+ - ./config:/config
+ - ~/data/mongobackupdata/storage:/storage
+ - ~/data/mongobackupdata/tmp:/tmp
+ - ~/data/mongobackupdata/data:/data
@@ -4,8 +4,8 @@
## 使用
-1. 在mgob/config/添加配置
- mgob/config/3dshow.yaml
+1. 在config/添加配置
+ config/3dshow.yaml
2. 启动服务:`docker-compose up -d`
## webapi