Self-hosted RTMP/SRT restreaming server: one live stream, many destinations
5.0K
Bunryu (分流, "branching flow") is a self-hosted restreaming server for long live events. It takes inputs over RTMP, SRT and bonded SRT and forwards each one to many RTMP/RTMPS/SRT destinations (YouTube, Facebook, Twitch, CDNs), with watchdogs that restart a failed output without affecting the others.
This image bundles the control plane, SRS, goryu and a pinned FFmpeg build (linux/amd64). It is the quickest way to try Bunryu; long-running production servers use the native systemd install.
docker run -d --name bunryu --restart unless-stopped \
-p 8080:8080 -p 21935:21935 -p 10080:10080/udp -p 10081:10081/udp \
-v bunryu-data:/data nandisha0/bunryu:latest
docker logs bunryu 2>&1 | grep -A3 "generated the dashboard password"
Open http://localhost:8080, log in with the password the log shows (printed once, on
the first start), create a pipeline and publish to the URL the dashboard shows. To
choose the password yourself, add -e BUNRYU_DASHBOARD_PASSWORD='choose-a-long-password'.
| Port | Protocol | Purpose |
|---|---|---|
| 8080 | TCP | Dashboard and REST API |
| 21935 | TCP | RTMP input |
| 10080 | UDP | SRT input |
| 10081 | UDP | Bonded SRT input |
Everything persistent (database, config, generated passphrase, diagnostics)
lives in the /data volume.
latest, X.Y.Z, X.Y: releasesedge: the current master branchThe same images are published as ghcr.io/live-miracles/bunryu.
docker pull nandisha0/bunryu:latest