https://github.com/wangsrGit119/janus-webrtc-gateway-docker
10K+
โ ๏ธ Warning
If you need Janus 0.x support, please visit janus-webrtc-gateway-docker-0.xโ
This project provides a Docker image for Janus WebRTC Gateway, making deployment and integration fast and simple. The image is based on the official Janus source code, with unnecessary modules removed, multi-platform support enabled, and optional Nginx startup.
๐ Continuous integration and automated Docker image publishing are powered by GitHub Actions.
This repository is based on atyenoria/janus-webrtc-gateway-dockerโ , with the following improvements:
| Docker Image Version | Janus Version | Platform Support Description |
|---|---|---|
| 1.2.0-slim/arm64 ~ 1.3.0-slim/arm64 | 1.2.0~1.3.0 | Separate x86_64/arm64 images |
| 1.3.1 and above | 1.3.1+ | Multi-platform merged image (recommended) |
conf directory and place your Janus config files inside (see official conf filesโ for reference).docker-compose.ymlservices:
janus-gateway:
image: 'sucwangsr/janus-webrtc-gateway-docker:latest'
# Only start janus
#command: ["/usr/local/bin/janus", "-F", "/usr/local/etc/janus"]
# Start nginx (port 8086) and janus together
command: ["sh", "-c", "nginx && /usr/local/bin/janus -F /usr/local/etc/janus"]
network_mode: "host"
volumes:
- "./conf/janus.transport.http.jcfg:/usr/local/etc/janus/janus.transport.http.jcfg" # adminapi config
- "./conf/janus.jcfg:/usr/local/etc/janus/janus.jcfg"
- "./conf/janus.eventhandler.sampleevh.jcfg:/usr/local/etc/janus/janus.eventhandler.sampleevh.jcfg"
restart: always
network_mode: "host", ensure the host machine ports are not occupied to avoid conflicts.:latest or a specific version tag; Docker will auto-detect your hardware architecture.-slim (x86_64) or -arm64 image according to your hardware.โ For questions or feature requests, feel free to submit an Issue or PR!
โญ If you find this project helpful, please give it a Star!
Content type
Image
Digest
sha256:5949e2e86โฆ
Size
729.5 MB
Last updated
3 months ago
docker pull sucwangsr/janus-webrtc-gateway-docker:1.4.1-muti