animeic 2 years ago
parent
commit
32d8e3cd50

+ 0 - 0
mgob/config/3dshow-mongo.yaml → config/3dshow-mongo[all].yaml


+ 0 - 0
mgob/config/box-mongo[all].yaml → config/box-mongo[all].yaml


+ 0 - 0
mgob/config/cloud-mongo[all].yaml → config/cloud-mongo[all].yaml


+ 1 - 1
mgob/config/comm-mongo.yaml → config/comm-mongo[all].yaml

@@ -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"

+ 0 - 0
mgob/config/qeentree-mongo.yaml → config/qeentree-mongo[all].yaml


+ 0 - 0
mgob/config/sku3d-mongo[all].yaml → config/sku3d-mongo[all].yaml


+ 0 - 0
mgob/config/template → config/template


+ 4 - 4
docker-compose.yaml

@@ -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

+ 2 - 2
readme.md

@@ -4,8 +4,8 @@
 
 ## 使用
 
-1. 在mgob/config/添加配置
-   mgob/config/3dshow.yaml
+1. 在config/添加配置
+   config/3dshow.yaml
 2. 启动服务:`docker-compose up -d`
 
 ## webapi