[go: up one dir, main page]

Skip to content

Run janus WebRTC gateway in a Docker container.

Notifications You must be signed in to change notification settings

lklock/docker-janus-gateway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Janus gateway in a Docker Container

Build Status

Run janus gateway well configured in a Docker container.

Usage

Assuming Docker and Docker Compose are installed:

Build the image

$ docker build -t lklock/docker-janus .

Run the container

$ DOCKER_IP=<THE IP OF YOUR DOCKER> docker run -p 8880:8880 -p 7088:7088 -p 8088:8088 -p 8188:8188 -p 10000-10200:10000-10200/udp lklock/docker-janus

Where DOCKER_IP is the public IP address where Docker services can be reached. This will be used by Janus to send back the right IP to Web clients (ICE candidates) so that they can communicate with Janus correctly.

That's it!

Details:

To make this even easier, copy docker-compose.yml from this repo. Then you'll only need to:

$ DOCKER_IP=<YOUR DOCKER IP> docker-compose up

Where ports:

  • 8880: expose janus documentation and admin/monitoring website
  • 7088: expose Admin/monitor server
  • 8088: expose Janus server
  • 8188: expose Websocket server
  • 10000-10200/udp: Used during session establishment

About

Run janus WebRTC gateway in a Docker container.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%