Support the 'external' option for networks
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
ca68c9faa4
commit
73fbd01cfe
4 changed files with 65 additions and 3 deletions
16
tests/fixtures/networks/external-networks.yml
vendored
Normal file
16
tests/fixtures/networks/external-networks.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
version: 2
|
||||
|
||||
services:
|
||||
web:
|
||||
image: busybox
|
||||
command: top
|
||||
networks:
|
||||
- networks_foo
|
||||
- bar
|
||||
|
||||
networks:
|
||||
networks_foo:
|
||||
external: true
|
||||
bar:
|
||||
external:
|
||||
name: networks_bar
|
||||
Loading…
Add table
Add a link
Reference in a new issue