Merge pull request #12808 from MessaoudiM/patch-2

Update networking.md
This commit is contained in:
Sebastiaan van Stijn 2021-05-10 11:50:59 +02:00 committed by GitHub
commit 76cd47dff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -184,8 +184,8 @@ services:
# ...
networks:
default:
external:
name: my-pre-existing-network
external: true
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.