Self-host go2rtc with Levelrail
A camera streaming hub that turns RTSP, HomeKit and other sources into WebRTC, HLS and MJPEG.
- AuthorAlexxIT
- LicenceMIT
- Memory128 MiB
- Services1
How to self-host go2rtc
-
Pull the images
One image is pulled on your server.
Show images
alexxit/go2rtc:1.9.15
-
Create the app
One service starts in a single Compose app, with 1 named volume mount for your data, on port 1984.
-
Fill in the secrets
You do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
After the first start
- Open the web UI and add stream sources, or edit the config file in the config volume.
go2rtc requirements
- Memory
- About 128 MiB
- Architectures
- amd64 unknown, arm64 unknown
- Ports
- 1984
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MIT, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then go2rtc. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the go2rtc docs page.
Deploy go2rtc your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy go2rtc from the CLI
levelrail-cli templates deploy go2rtc --name my-go2rtc Deploy go2rtc with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/go2rtc/deploy go2rtc configuration
go2rtc services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| go2rtc | alexxit/go2rtc:1.9.15 | 1984 | config -> /config |
go2rtc environment variables
The catalog lists no environment variables for this template.
Ports and volumes
- Ports
- 1984
- Volumes
- 1 named mount: config -> /config
go2rtc FAQ
How much memory does go2rtc need?
The catalog lists about 128 MiB of memory for go2rtc.
Does go2rtc run on arm64?
For go2rtc, arm64 support is not confirmed; amd64 is unknown.
What licence is go2rtc under?
go2rtc is licensed under MIT, which is permissive, with few conditions on reuse.
Does go2rtc need configuration before it starts?
No. The template fills in its own defaults.
Which ports does go2rtc use?
go2rtc listens on port 1984 inside the stack.
Where does go2rtc keep its data?
In a named volume: config mounted at /config.
Can I deploy go2rtc on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id go2rtc for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image alexxit/go2rtc:1.9.15 is what you deploy there.