docker-nginx-rtmp

github.com/alfg/docker-nginx-rtmp Twitch Tools Open-source projectOpen source

This Dockerfile builds NGINX with the RTMP module and FFmpeg for HLS live streaming.

github.com/alfg/docker-nginx-rtmp
docker-nginx-rtmp homepage screenshot

About docker-nginx-rtmp

docker-nginx-rtmp is a Dockerfile that builds NGINX 1.23.1 with nginx-rtmp-module 1.2.2 and FFmpeg 5.1 from source on Alpine Linux, with default settings for HLS live streaming. It accepts RTMP at rtmp://localhost:1935/stream/$STREAM_NAME and serves HLS over HTTP on port 8080.

It includes an example hls.js player, OBS settings, support for custom nginx.conf mounts and environment variable substitution, and optional SSL configuration. The separate CUDA image for NVIDIA hardware acceleration is marked experimental and needs a supported platform and driver.

Key features

  • Builds NGINX with nginx-rtmp-module and FFmpeg from source
  • Streams RTMP ingest to HLS with default settings
  • Includes example hls.js player for playback testing
  • Supports custom nginx.conf via volume mount
  • Supports environment variable substitution in nginx.conf
  • Provides CUDA-tagged image for NVIDIA hardware acceleration
Best for: People running their own RTMP to HLS live streaming server with Docker on Linux.
Good for
  • Open source build from source on Alpine Linux
  • Includes OBS settings and HLS playback examples
  • Supports custom configuration and environment variables
Watch out for
  • CUDA image is marked experimental
  • CUDA image requires supported platform and driver
  • Supplied SSL setup uses self-signed certificate; own certificates recommended

docker-nginx-rtmp at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Platforms
Linux
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

docker-nginx-rtmp alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Twitch Tools

Well-known listings from the same topic.

All 110

docker-nginx-rtmp FAQ

How do I send a stream to the server?
Stream to rtmp://localhost:1935/stream/$STREAM_NAME. For OBS, use URL rtmp://localhost:1935/stream with stream key hello.
How do I watch the stream?
Open http://localhost:8080/live/$STREAM_NAME.m3u8 in Safari, VLC or another HLS player, or use http://localhost:8080/player.html with the stream URL.
How do I use a custom nginx.conf?
Mount your file as /etc/nginx/nginx.conf.template, for example: - ./nginx.conf:/etc/nginx/nginx.conf.template.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing