Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions docker-compose.tmpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,8 @@ services:
- "--allowed-peer-ip=${EXTERNAL_IPv4}"
- "--relay-ip=${EXTERNAL_IPv4}"
- "--relay-ip=${EXTERNAL_IPv6:-::1}"
- "--listening-ip=${TURN_LISTENING_IPv4:-${EXTERNAL_IPv4}}"
- "--listening-ip=${TURN_LISTENING_IPv6:-${EXTERNAL_IPv6:-::1}}"
volumes:
- ./mod/coturn/turnserver.conf:/etc/coturn/turnserver.conf
network_mode: host
Expand Down
5 changes: 5 additions & 0 deletions sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ STUN_PORT=3478
# uncomment and adjust following two lines to add an external TURN server
#TURN_EXT_SERVER=turns:example.org:443?transport=tcp
#TURN_EXT_SECRET=
# uncomment and adjust following two lines to specify the addreess the TURN
# server should listen on, if it is different to the EXTERNAL_IPvx values, for
# example when the server is behind a NAT.
#TURN_LISTENING_IPv4=
#TURN_LISTENING_IPv6=

# Allowed SIP IPs
# due to high traffic caused by bots, by default the SIP port is blocked.
Expand Down