|
@@ -1,10 +1,10 @@
|
|
version: '3.8'
|
|
version: '3.8'
|
|
|
|
|
|
# 网络
|
|
# 网络
|
|
-networks:
|
|
|
|
- default:
|
|
|
|
- external:
|
|
|
|
- name: default-network # 与需要备份的mongo在同一个网络
|
|
|
|
|
|
+# networks:
|
|
|
|
+# default:
|
|
|
|
+# external:
|
|
|
|
+# name: default-network # 与需要备份的mongo在同一个网络
|
|
|
|
|
|
services:
|
|
services:
|
|
# mgob
|
|
# mgob
|
|
@@ -12,6 +12,13 @@ services:
|
|
image: stefanprodan/mgob:1.1
|
|
image: stefanprodan/mgob:1.1
|
|
container_name: mongo-backup
|
|
container_name: mongo-backup
|
|
restart: always
|
|
restart: always
|
|
|
|
+ links:
|
|
|
|
+ - 3dshow-mongo
|
|
|
|
+ - box-mongo
|
|
|
|
+ - cloud-mongo
|
|
|
|
+ - comm-mongo-alpha
|
|
|
|
+ - tree-mongo
|
|
|
|
+ - sku3d-mongo
|
|
ports:
|
|
ports:
|
|
- 8090:8090
|
|
- 8090:8090
|
|
volumes:
|
|
volumes:
|