mirror of https://github.com/docker/docs.git
commit
76cd47dff8
|
@ -184,8 +184,8 @@ services:
|
||||||
# ...
|
# ...
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
external:
|
external: true
|
||||||
name: my-pre-existing-network
|
name: my-pre-existing-network
|
||||||
```
|
```
|
||||||
|
|
||||||
Instead of attempting to create a network called `[projectname]_default`, Compose looks for a network called `my-pre-existing-network` and connect your app's containers to it.
|
Instead of attempting to create a network called `[projectname]_default`, Compose looks for a network called `my-pre-existing-network` and connect your app's containers to it.
|
||||||
|
|
Loading…
Reference in New Issue