mirror of https://github.com/docker/compose.git
Typo into the doc with `networks` in yaml
Signed-off-by: Yohan Graterol <yohangraterol92@gmail.com>
This commit is contained in:
parent
6f06b3bd30
commit
59a2920758
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue