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 |
---|---|---|
20220407 | 1.0.0 | ------------ |
20220617 | 1.0.1 | ------------ |
20220618 | 1.0.2 | ------------ |
20220627 | 1.0.3 | ------------ |
20220813 | 1.0.4 | ------------ |
20221018 | 1.1.0 | ------------ |
20230108 | 1.1.1 | ------------ |
20230127 | 1.1.2 | ------------ |
20230320 | 1.1.3 | ------------ |
20230829 | 1.1.4 | ------------ |
1.2.0 | 1.2.0 | no Audio Bridge 、Lua、Duktape |
1.2.0-slim | 1.2.0 | with Audio Bridge plugin |
1.2.1-slim | 1.2.1 | with Audio Bridge plugin |
1.2.2-slim | 1.2.2 | with Audio Bridge plugin |
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 |
- mkdir conf ---- configs from https://github.com/meetecho/janus-gateway/tree/master/conf
- touch docker-compose.yml --- content eg::point_down:
version: '1.2.0'
services:
#
# janus-gateway
#
janus-gateway:
image: 'sucwangsr/janus-webrtc-gateway-docker:1.2.0-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