Skip to content

wiktor-k/turn-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turn checker

Checks your TURN/STUN server deployment.

Building

docker build -t wiktork/turn-checker .

Running

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

Details

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.