Browse Source

Merge pull request #2871 from yograterol/patch-1

Typo into the doc with `networks` in yaml
Aanand Prasad 10 năm trước cách đây
mục cha
commit
28689a57a7
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      docs/compose-file.md

+ 2 - 2
docs/compose-file.md

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