Dockerfile for an ubuntu image that launches a TURN/STUN server
docker build -t recog-coturn .
docker run --name my-coturn -t recog-coturn
-
The container console outputs the username and password. Copy them.
-
Get the container IP adress using : docker inspect my-coturn
-
Test the server by adding a new ICE server in:
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
STUN or TURN URI format: turn::