Browse Source

fix docker warning

animeic 2 years ago
parent
commit
f22c51d8d4
1 changed files with 2 additions and 3 deletions
  1. 2 3
      docker-compose.yaml

+ 2 - 3
docker-compose.yaml

@@ -3,9 +3,8 @@ version: '3.8'
 # 网络
 networks:
   default:
-    external:
-      name: default-network
-    # name: default-network
+    name: default-network
+    external: true
 
 services:
   #nginx反向代理