Skip to content

Commit a93ea39

Browse files
committed
PR comment
1 parent a8ce7b7 commit a93ea39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/concepts/compose.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,12 @@ or
214214
### `networks`
215215
(Optional)
216216

217-
The network configuration. Can be `public`, where Defang will assign a public IP address, or `private`, in which Defang will not. To avoid warnings, add this to the [top-level `networks`](#networks) property as well.
217+
The service network configuration. By default, Compose will add services to the `default` network, which has external connectivity.
218+
You can also add services to private networks. To avoid warnings, you should add them to the [top-level `networks`](#networks) property as well.
218219

219220
```yaml
220221
networks:
221-
default: # when not specified, services are assigned to the default network
222+
default: # when not specified, services are assigned to the "default" network
222223
```
223224

224225
You can also assign an alias for a network by using `aliases`, as seen below:

0 commit comments

Comments
 (0)