Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wangsrgit119/janus-webrtc-gateway-docker

Docker image for the Janus WebRTC Server;Janus docker 容器 镜像
https://github.com/wangsrgit119/janus-webrtc-gateway-docker

docker janus-gateway janus-webrtc-gateway nginx webrtc

Last synced: 8 days ago
JSON representation

Docker image for the Janus WebRTC Server;Janus docker 容器 镜像

Awesome Lists containing this project

README

        

# janus-webrtc-gateway-docker
[![build docker images - janus-webrtc-docker](https://github.com/wangsrGit119/janus-webrtc-gateway-docker/actions/workflows/prod-docker-image.yml/badge.svg)](https://github.com/wangsrGit119/janus-webrtc-gateway-docker/actions/workflows/prod-docker-image.yml)

> **Warning**
>- if you want to use Janus 0.x please visit this repo [janus-webrtc-gateway-docker-0.x](https://github.com/atyenoria/janus-webrtc-gateway-docker)

## janus officia repository

[The official janus repository](https://github.com/meetecho/janus-gateway.git "janus:1.0")

>New version release depends on GitHub Action

## Base

modify :point_down: repo, and update janus version , delete nginx-rtmp-module
> https://github.com/atyenoria/janus-webrtc-gateway-docker
>

## amd image version

| 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.4-slim | 1.2.4 | |
| 1.3.0-slim | 1.3.0 | |
## arm64 images version

| 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 |
| 1.3.0-arm64 | 1.3.0 |

## How to use

- mkdir conf ---- configs from [https://github.com/meetecho/janus-gateway/tree/master/conf](https://github.com/meetecho/janus-gateway/tree/master/conf)
- touch docker-compose.yml --- content eg::point_down:

```yaml
version: '3.3'
services:

#
# janus-gateway
#
janus-gateway:
image: 'sucwangsr/janus-webrtc-gateway-docker:1.3.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