# alfg/docker-nginx-rtmp

🐋 A Dockerfile for nginx-rtmp-module + FFmpeg from source with basic settings for streaming HLS. Built on Alpine Linux.

Repository: https://github.com/alfg/docker-nginx-rtmp
Canonical: https://ross.abutalabs.com/products/docker-nginx-rtmp
Homepage: https://hub.docker.com/r/alfg/nginx-rtmp/
Language: XSLT
License: MIT
License Family: permissive
Topics: nginx-rtmp, ffmpeg, docker, hls-live-streaming, hls, live-streaming, rtmp, twitch
Last push: 2024-09-01T01:56:51+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3601, "days_push": 732, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1108, forks 407 (observed 2026-08-28T04:03:37.012768+00:00)

## What it is
A Docker image packaging NGINX with the nginx-rtmp-module and FFmpeg compiled from source on Alpine Linux, preconfigured for HLS live streaming. It accepts RTMP ingest (e.g., from OBS) and serves HLS playlists for playback in browsers or players like VLC.

## Use cases
- self-host an RTMP to HLS live streaming server
- stream from OBS to my own server instead of Twitch
- serve HLS m3u8 streams to browsers with hls.js
- run a lightweight nginx-rtmp media server in Docker
- restream a live video feed over RTMP and HLS
- set up a private live streaming endpoint with SSL

## When to choose
- you want a quick, preconfigured RTMP/HLS streaming server in a container
- you need simple self-hosted live streaming with OBS ingest
- you want a minimal Alpine-based image you can customize via nginx.conf

## When to avoid
- you need advanced features like transcoding, recording, or multi-bitrate ABR out of the box
- you require a actively developed media server with large-scale scaling (consider SRS, MediaMTX, or Wowza)
- you need WebRTC low-latency streaming

## Facets
- artifact type: application
- maturity: maintenance
- function: http-server, video-processing, streaming
- domain: media, self-hosted
- platform: self-hosted
- tags: rtmp, hls, nginx-rtmp, ffmpeg, live-streaming, docker-image, obs, video, devops, docker, linux

## Member repositories
- alfg/docker-nginx-rtmp (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:37.012768+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:43:44.881124+00:00, confidence not recorded.
  - readme: https://github.com/alfg/docker-nginx-rtmp (fetched 2026-08-28T04:03:37.012768+00:00, sha 3c4a13ed3aa1)
  - homepage: https://hub.docker.com/r/alfg/nginx-rtmp/ (fetched 2026-08-29T12:47:19.373016+00:00, sha dfd16286198c)
  - site_page: https://docs.docker.com/docker-hub (fetched 2026-08-29T12:47:19.382694+00:00, sha caaa18892709)
  - site_page: https://docs.docker.com/docker-for-windows/wsl (fetched 2026-08-29T12:47:19.384750+00:00, sha 1796ff567634)
  - site_page: https://www.docker.com/docs (fetched 2026-08-29T12:47:19.386538+00:00, sha aeada2272712)
  - site_page: https://www.docker.com/company (fetched 2026-08-29T12:47:19.388272+00:00, sha 05ab59b2bc29)
- Data as of 2026-08-30T08:39:29.467469+00:00.
