diff --git a/content/reference/compose-file/services.md b/content/reference/compose-file/services.md index 8574628326..873105e0d9 100644 --- a/content/reference/compose-file/services.md +++ b/content/reference/compose-file/services.md @@ -1570,7 +1570,7 @@ in the form: - `HOST` is `[IP:](port | range)` (optional). If it is not set, it binds to all network interfaces (`0.0.0.0`). - `CONTAINER` is `port | range`. -- `PROTOCOL` restricts ports to a specified protocol either `tcp` or `upd`(optional). Default is `tcp`. +- `PROTOCOL` restricts ports to a specified protocol either `tcp` or `udp`(optional). Default is `tcp`. Ports can be either a single value or a range. `HOST` and `CONTAINER` must use equivalent ranges.