Skip to content

Commit a0fe785

Browse files
committed
PR comments
1 parent 70f4100 commit a0fe785

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/concepts/networking.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ This page is about complex networking. If you want to configure your services to
1717

1818
## Networks
1919

20-
The Compose spec has a notion of [networks](https://github.com/compose-spec/compose-spec/blob/main/06-networks.md). By default, each service gets added to the `default` network. Networks in Compose can be flagged as `internal`, but this means they have no connection to the outside world at all (no egress).
21-
22-
Only services in the `default` network can have public IPs. Services in any other network will be in a private subnet.
20+
The Compose spec has a notion of [networks](https://github.com/compose-spec/compose-spec/blob/main/06-networks.md). By default, each service gets added to the `default` network.
21+
Services in the `default` network can have public IPs. Services in any other network will be in a private subnet.
22+
These services cannot be reached from outside the network, but they can still make network requests to the public internet.
2323

2424
```yaml
2525
services:

0 commit comments

Comments
 (0)