-
Notifications
You must be signed in to change notification settings - Fork 177
Coturn Example
Alex X edited this page May 6, 2021
·
2 revisions
docker-compose.yml
Change volumes
to your location.
version: '3.1'
services:
coturn:
image: instrumentisto/coturn
network_mode: host
volumes:
- ~/docker/coturn.conf:/my/coturn.conf
command: -c /my/coturn.conf
coturn.conf
Change realm
, external-ip
and user
.
# TURN server name and realm
realm=123.123.123.123
server-name=turnserver
# Use fingerprint in TURN message
fingerprint
# IPs the TURN server listens to
listening-ip=0.0.0.0
# External IP-Address of the TURN server
external-ip=123.123.123.123
# Main listening port
listening-port=3478
# Further ports that are open for communication
min-port=10000
max-port=20000
# Log file path
# log-file=/var/log/turnserver.log
# Enable verbose logging
# verbose
# Specify the user for the TURN authentification
user=test:test123
# Enable long-term credential mechanism
lt-cred-mech