Kaynağa Gözat

Merge pull request #2871 from yograterol/patch-1

Typo into the doc with `networks` in yaml
Aanand Prasad 10 yıl önce
ebeveyn
işleme
28689a57a7
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      docs/compose-file.md

+ 2 - 2
docs/compose-file.md

@@ -761,14 +761,14 @@ service's containers to it.
         networks:
         networks:
           - default
           - default
 
 
-    networks
+    networks:
       outside:
       outside:
         external: true
         external: true
 
 
 You can also specify the name of the network separately from the name used to
 You can also specify the name of the network separately from the name used to
 refer to it within the Compose file:
 refer to it within the Compose file:
 
 
-    networks
+    networks:
       outside:
       outside:
         external:
         external:
           name: actual-name-of-network
           name: actual-name-of-network