alexxit/go2rtc

By alexxit

Updated 1 day ago

Ultimate camera streaming application with support RTSP, WebRTC, MJPEG, HomeKit, FFmpeg, etc.

Image
Internet of Things
Networking
Web Servers

1M+

Read more: https://github.com/AlexxIT/go2rtc

Versions

  • alexxit/go2rtc:latest - latest release based on alpine (amd64, 386, arm, arm64) with support hardware transcoding for Intel iGPU and Raspberry
  • alexxit/go2rtc:master - latest unstable version based on alpine
  • alexxit/go2rtc:master-hardware - latest unstable version based on debian 13 (amd64) with support hardware transcoding for Intel iGPU, AMD GPU and NVidia GPU

Read more about hardware transcoding: https://github.com/AlexxIT/go2rtc/wiki/Hardware-acceleration

Docker compose

services:
  go2rtc:
    image: alexxit/go2rtc
    network_mode: host       # important for WebRTC, HomeKit, UDP cameras
    privileged: true         # only for FFmpeg hardware transcoding
    restart: unless-stopped  # autorestart on fail or config change from WebUI
    environment:
      - TZ=Atlantic/Bermuda  # timezone in logs
    volumes:
      - "~/go2rtc:/config"   # folder for go2rtc.yaml file (edit from WebUI)

Basic Deployment

docker run -d \
  --name go2rtc \
  --network host \
  --privileged \
  --restart unless-stopped \
  -e TZ=Atlantic/Bermuda \
  -v ~/go2rtc:/config \
  alexxit/go2rtc

Deployment with GPU Acceleration

docker run -d \
  --name go2rtc \
  --network host \
  --privileged \
  --restart unless-stopped \
  -e TZ=Atlantic/Bermuda \
  --gpus all \
  -v ~/go2rtc:/config \
  alexxit/go2rtc:latest-hardware

Docker Pull Command

docker pull alexxit/go2rtc