Warning
- if you want to use Janus 0.x please visit this repo janus-webrtc-gateway-docker-0.x
New version release depends on GitHub Action
modify 👇 repo, and update janus version , delete nginx-rtmp-module
janus-webrtc-gateway-docker Version | Janus Version | Desc |
---|---|---|
1.2.0-slim | 1.2.0 | |
1.2.1-slim | 1.2.1 | |
1.2.2-slim | 1.2.2 | |
1.2.3-slim | 1.2.3 | |
1.2.3-slim | 1.2.4 |
janus-webrtc-docker:version | janus:version |
---|---|
1.2.0-arm64 | 1.2.0 |
1.2.1-arm64 | 1.2.1 |
1.2.2-arm64 | 1.2.2 |
1.2.3-arm64 | 1.2.3 |
1.2.4-arm64 | 1.2.4 |
- mkdir conf ---- configs from https://github.com/meetecho/janus-gateway/tree/master/conf
- touch docker-compose.yml --- content eg::point_down:
version: '3.3'
services:
#
# janus-gateway
#
janus-gateway:
image: 'sucwangsr/janus-webrtc-gateway-docker:1.2.4-slim'
#command: ["/usr/local/bin/janus", "-F", "/usr/local/etc/janus"] # only start janus
command: ["sh", "-c", "nginx && /usr/local/bin/janus -F /usr/local/etc/janus"] # if want to start nginx (port 8086)
network_mode: "host"
volumes:
- "./conf/janus.transport.http.jcfg:/usr/local/etc/janus/janus.transport.http.jcfg" # open 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
Warning Before startup, please ensure your config files is ok, pay attention to comments in YAML