animeic 2 жил өмнө
parent
commit
80949346cb

+ 3 - 2
docker-compose.yaml

@@ -1,10 +1,11 @@
 version: '3.8'
 version: '3.8'
 
 
 # 网络
 # 网络
+# 与需要备份的mongo在同一个网络
 networks:
 networks:
   default:
   default:
-    external:
-      name: default-network # 与需要备份的mongo在同一个网络
+    name: default-network
+    external: true
 
 
 services:
 services:
   # mgob
   # mgob