Checks your TURN/STUN server deployment.
docker build -t wiktork/turn-checker .
Set these environment variables:
TURN_HOST
- target host to check,TURN_PORT
- port of the TURN service,TURN_SECRET
- symmetric secret that the service uses.
docker run --rm -it -e TURN_HOST=turn.example.com -e TURN_PORT=3478 -e TURN_SECRET=test wiktork/turn-checker
This image uses stock prosody.cfg.lua
file extracted from the
Prosody image with minor additions:
turn_external
module has been enabled,- TURN settings are being read from the environment variables
through
os.getenv
.