Browse Source

Merge pull request #2871 from yograterol/patch-1

Typo into the doc with `networks` in yaml
Aanand Prasad 9 years ago
parent
commit
28689a57a7
1 changed files with 2 additions and 2 deletions
  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