bprodoehl / docker-turnserver

A Docker container with the coturn STUN and TURN server
112 stars 43 forks source link

docker-turnserver

A Docker container with the Coturn STUN and TURN server (https://github.com/coturn/coturn)

This is currently running v4.4.5.3.

docker run -d --name=turnserver --restart="on-failure:10" --net=host -p 3478:3478 -p 3478:3478/udp bprodoehl/turnserver

This will use icanhazip (http://major.io/icanhazip-com-faq/) to determine your container's public IP address. If you don't wish to use icanhazip, or you wish to use an external IP address that doesn't match what icanhazip would see, you can specify it in the environment:

docker run -d -e EXTERNAL_IP=1.2.3.4 --name=turnserver --restart="on-failure:10" --net=host -p 3478:3478 -p 3478:3478/udp bprodoehl/turnserver

Environment Parameters