# Janus WebRTC Gateway Multi-Platform Docker Image Repository & Usage Guide

**URL:** <https://janus.discourse.group/t/janus-webrtc-gateway-multi-platform-docker-image-repository-usage-guide/1700>\
**Category:** Resources\
**Created:** [August 13, 2025, 2:26am UTC](https://janus.discourse.group/t/janus-webrtc-gateway-multi-platform-docker-image-repository-usage-guide/1700 "2025-08-13T02:26:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangsr281436](https://yyz2.discourse-cdn.com/free1/user_avatar/janus.discourse.group/wangsr281436/32/171_2.png) [@wangsr281436](https://janus.discourse.group/u/wangsr281436)\
**Post date:** [August 13, 2025, 2:26am UTC](https://janus.discourse.group/t/janus-webrtc-gateway-multi-platform-docker-image-repository-usage-guide/1700/1 "2025-08-13T02:26:28Z")

</div>

# 

This repository, [janus-webrtc-gateway-docker](https://github.com/wangsrGit119/janus-webrtc-gateway-docker), is dedicated to building and publishing multi-platform Docker images (x86\_64/amd64, arm64, armv7, etc.) for Janus WebRTC Gateway. Images are automatically pushed to Docker Hub, making it easy to deploy on mainstream servers and embedded devices!

 ![image](https://global.discourse-cdn.com/free1/uploads/janus/original/1X/01fa221d9d03b3150bfd60db12e25e64f9b901ae.png)

* * *

## Multi-Platform Image Highlights

- Images are automatically built and published to Docker Hub, covering mainstream servers and edge/embedded devices.
- Supported architectures:
  - `linux/amd64`
  - `linux/arm64`
  - `linux/arm/v7`

- Every repository update triggers a new multi-platform image build and push.

* * *

## Docker Hub Image

```auto
docker pull sucwangsr/janus-webrtc-gateway-docker:latest

```

* * *

## Recommended Usage (docker-compose)

We recommend the following `docker-compose.yaml` configuration. The image will automatically adapt to your platform. This setup supports custom config mounting, simultaneous launch of both nginx and janus services, and uses `host` networking for easy port exposure.

```yaml
services:

  #
  # janus-gateway
  #
  janus-gateway:
    image: 'sucwangsr/janus-webrtc-gateway-docker:latest'
    # To only start janus, you can use:
    #command: ["/usr/local/bin/janus", "-F", "/usr/local/etc/janus"]
    # By default, start both nginx (port 8086) and janus:
    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" # Enable 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"` allows direct use of host ports. Make sure there are no port conflicts.
- Mount your custom config files from the local `conf` directory for easy configuration and persistence.
- By default, both nginx and Janus services are started. If you only need Janus, modify the `command` line.

* * *

## Download Official Config Files

Before customizing, it’s recommended to download the official Janus config files as templates:

- [Janus official config directory @meetecho/janus-gateway/conf](https://github.com/meetecho/janus-gateway/tree/master/conf)
- For a fixed version (e.g. v1.3.2), [download here](https://github.com/meetecho/janus-gateway/tree/8643f146dff833a5c9b2477311317b42d6c65993/conf)

* * *

## Quick Start

1. Save the above as `docker-compose.yaml` and prepare your local `conf` directory with the config files (download from the links above).

2. In the directory with `docker-compose.yaml`, run:

3. Docker will automatically pull the image for your platform and start the service—no need to worry about architecture selection!

* * *

## FAQ

- **How do I check which platforms are supported?**  
Run `docker manifest inspect sucwangsr/janus-webrtc-gateway-docker:latest` to see supported architectures.

- **How can I change Janus configurations?**  
Edit the config files in your local `conf` directory and restart the container.

- **How to report issues or contribute?**  
Please use [GitHub Issues](https://github.com/wangsrGit119/janus-webrtc-gateway-docker/issues) for feedback and contributions.

* * *

## Closing

This repository is continuously maintained for Janus WebRTC Gateway multi-platform images. Stars, feedback, and contributions are welcome!  
Docker Hub: [https://hub.docker.com/r/sucwangsr/janus-webrtc-gateway-docker](https://hub.docker.com/r/sucwangsr/janus-webrtc-gateway-docker)
