Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 4.69 KB

README.md

File metadata and controls

42 lines (32 loc) · 4.69 KB

Janus WebRTC Gateway (docker image)

Supported tags and respective Dockerfile links

How to use this image

docker run -d -e "DOCKER_IP=<Public IP>" ladamalina/janus-gateway:latest

You have to pass DOCKER_IP env variable and configure STUN server. Otherwise Janus server will fail to communicate through your NAT. Read more about ICE

You may want to change configuration files or record video meetings mounting it as volumes:

  • /var/janus/janus/etc
  • /var/janus/janus/data

By default ACL lists for http transport, admin api and websockets are empty and Janus does not perform any access control. For production you should configure firewall rules or reverse-proxy access control for ports 8088 and 8188. Example:

docker run -d \
    -v `pwd`/data:/var/janus/janus/data \
    -v `pwd`/etc:/var/janus/janus/etc \
    --network host \
    -e "DOCKER_IP=<Public IP>" \
    --restart=unless-stopped \
    ladamalina/janus-gateway:latest

For more detailed instructions on WebRTC configuration please refer to developer repository.