- Notifications
You must be signed in to change notification settings - Fork215
Coturn Example
Alex X edited this pageMay 6, 2021 ·2 revisions
docker-compose.yml
Changevolumes to your location.
version:'3.1'services:coturn:image:instrumentisto/coturnnetwork_mode:hostvolumes: -~/docker/coturn.conf:/my/coturn.confcommand:-c /my/coturn.conf
coturn.conf
Changerealm,external-ip anduser.
# TURN server name and realmrealm=123.123.123.123server-name=turnserver# Use fingerprint in TURN messagefingerprint# IPs the TURN server listens tolistening-ip=0.0.0.0# External IP-Address of the TURN serverexternal-ip=123.123.123.123# Main listening portlistening-port=3478# Further ports that are open for communicationmin-port=10000max-port=20000# Log file path# log-file=/var/log/turnserver.log# Enable verbose logging# verbose# Specify the user for the TURN authentificationuser=test:test123# Enable long-term credential mechanismlt-cred-mech