# Lune

Lune is a self-hosted media applications app. Your universe. Your media. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/9216/lune

## Description

Your universe. Your media. Lune is a self-hosted media server with built-in HTTPS and security, so there's no separate reverse proxy to set up. Direct Play, hardware-accelerated streaming, multi-user accounts with 2FA, and built-in media requests.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

50/100 (Fair), based on 4 of 5 factors.
- Maintained: 72 (last commit 6 days ago)
- Popular: 6 (1 GitHub stars)
- Easy to install: 20 (1 install platform, Docker image)
- Security check: 90 (no serious findings, CI, tests, new single-developer project)

## Links

- Unraid: https://ca.unraid.net/apps/app_a6cb8b446bc37561
- GitHub: https://github.com/LuneServer/lune

## Common questions

### Do I need to set up a separate reverse proxy for Lune?

No. Lune is packaged as a single container with built-in automatic Let's Encrypt HTTPS (including Cloudflare DNS-01). However, you can also run it behind your own reverse proxy or Tailscale if you prefer.

### Which ports does Lune use, and how do they differ between local HTTPS and ACME mode?

In local mode you expose port 5863. If you enable LUNE_EDGE_MODE=acme for built-in automatic HTTPS, you need to expose ports 80 and 443 instead.

### How do I enable hardware-accelerated transcoding?

Pass through your Intel or AMD iGPU as a device (e.g. /dev/dri:/dev/dri) in Docker; Lune handles GPU permissions automatically and also supports NVIDIA and Apple GPUs, with automatic HDR and Dolby Vision tone-mapping.

### Does Lune support multiple users with permissions and 2FA?

Yes. It includes invite links, per-library permissions, two-factor authentication, and brute-force protection, plus built-in media requests so friends and family can request content.

### Where are my Lune data and media stored, and how should I mount them?

Mount the app data to /data and your media folders to /media (read-only is fine). Most other settings like networking, transcoding limits, and Radarr/Sonarr are configured in the Admin Console rather than env vars.

### How do I install Lune on Unraid?

Install it directly from Unraid Community Applications using the official Unraid templates, and pass /dev/dri as a device for Intel/AMD iGPU transcoding. Use PUID 99 and PGID 100 on Unraid.

---
Source: Our Local Host (https://ourlocalhost.com/app/9216/lune), the self-hosted and open-source app directory.
