Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion docs/devops-guide/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ Variable | Description | Default value
### Running behind NAT or on a LAN environment

When running running in a LAN environment, or on the public Internet via NAT, the ``JVB_ADVERTISE_IPS`` env variable should be set.
This variable allows to control which IP addresses the JVB will advertise for WebRTC media traffic. It is necessary to set it regardless of the use of a reverse proxy, since it's the IP address that will receive the media (audio / video) and not HTTP traffic, hence it's oblivious to the reverse proxy.
This variable allows to control which IP addresses and ports the JVB will advertise for WebRTC media traffic. It is necessary to set it regardless of the use of a reverse proxy, since it's the IP address that will receive the media (audio / video) and not HTTP traffic, hence it's oblivious to the reverse proxy.

:::note
This variable used to be called ``DOCKER_HOST_ADDRESS`` but it got renamed for clarity and to support a list of IPs.
Expand All @@ -796,6 +796,19 @@ multiple advertised IPs by separating them with commas:
JVB_ADVERTISE_IPS=192.168.1.1,1.2.3.4
```

#### Advertising Ports

If your external port differs from the internal `JVB_PORT`, you can specify the advertised port along with the advertised IP:

```
JVB_ADVERTISE_IPS=192.168.1.1#12345,fe80::1#12345
```

:::note
Since IPv6 addresses use `:` in their representation, the `#` character is used to separate the IP from the port.
:::


#### Offline / airgapped installation

If your setup does not have access to the Internet you'll need to disable STUN on the JVB since discovering its own IP address will fail, but that is not necessary on that type of environment.
Expand Down