Skip to content

synctree/docker-coturn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-coturn

A Docker container running the coturn STUN/TURN server (https://code.google.com/p/coturn/)

Unlike bprodoehl/turnserver (https://github.com/bprodoehl/docker-turnserver), this image is not based on phusion/baseimage, but runs the turnserver directly in the container as PID 1. All logging is send to stdout.

Like bprodoehl/turnserver, this container accepts the EXTERNAL_IP environment variable to tell coturn its external IP address. If EXTERNAL_IP is not supplied, the external IP will be fetched using icanhazip (http://major.io/icanhazip-com-faq/) using curl.

For debugging purposes, docker exec should be used since this container does not run an SSH daemon.

Due to the need for the TURN server to open arbitrary ports to the outside world and Docker's lack of range-based port mapping (moby/moby#8899), additional configuration is needed to allow clients to talk to this service. This can be accomplished in a number of ways, including the use of iptables in combination with something like docker-gen or using Docker's host networking (--net host) feature. The use of host networking is not recommended due to the many security issues it raises.

Usage

To run this container:

$ docker run -d synctree/coturn:latest

Releases

No releases published

Packages

No packages published

Languages