Lunarr is a self-hosted media server for movie and TV libraries on local disks, SFTP, or WebDAV. It scans your files, matches them with TMDb metadata, and plays them with direct streaming or on-the-fly HLS transcoding. Chromecast and AirPlay are supported for remote playback. Mobile and TV apps are available on Google Play and the App Store.
.vtt and .srt), intro/recap/credits skip markers via TheIntroDBdocker run -d \
--name lunarr \
--restart unless-stopped \
-p 3000:3000 \
-e AUTH_SECRET=replace-with-a-random-secret-at-least-32-chars \
-e ORIGIN=http://127.0.0.1:3000 \
-v lunarr-data:/data \
-v /mnt/media:/media:ro \
sayem314/lunarr:latest
Open http://127.0.0.1:3000, create the first admin account, add a movie or TV library, then run a scan from Libraries. For mounted local media, use the container path, such as /media.
| Variable | Required | Description |
|---|---|---|
AUTH_SECRET | Yes | Random secret, at least 32 chars. Must stay stable between restarts. |
ORIGIN | Yes | Public origin URL, e.g. http://127.0.0.1:3000 or https://your-domain.com |
LUNARR_DATA_DIR | No | Data directory (defaults to /data) |
/data — SQLite database, per-session HLS playlists, and shared HLS cache segments. Keep on persistent storage./media — optional, read-only mount for local media libraries. Remove if you only use remote (SFTP/WebDAV) libraries.3000 — HTTP web UI and API.mp4, .mkv, .mov, .avi, .webm. Sidecar .vtt/.srt subtitles are supported.Content type
Image
Digest
sha256:3429129ff…
Size
386.3 MB
Last updated
25 days ago
docker pull sayem314/lunarr