Featured project

๐ŸŽฌ Your own Jellyfin / Plex

Personal media server reachable from any of your devices, streaming over your tailnet. No subscriptions, no DDoS surface, no cloud account.

Featured Media Beginner Half-day Prereqs: M3

Why this project

Streaming services keep getting more expensive and own less of the catalog. If you have a media library you actually own โ€” ripped DVDs, downloaded shows, family videos โ€” Jellyfin gives you Netflix-quality UX over your own files. Tailscale fixes the historical pain of self-hosted Plex/Jellyfin: random IPs, port forwarding, "is this exposed to the internet?" anxiety. Tailnet-only by default; everywhere with you.

Who this helps

What you get

CLIENTS PRIVATE EDGE HOST ๐Ÿ“ฑ phoneJellyfin app ๐Ÿ“บ TVApple TV / Android TV ๐Ÿ’ป browserweb client ๐Ÿ”’ Tailscale Serve ยท tag:mediajellyfin.tail-abc.ts.net ยท ACL: group:family only ๐ŸŽฌ JellyfinDocker sidecarport 8096 ๐Ÿ“ media libraryread-only mount/media (host disk)

Every client speaks the same Jellyfin API to jellyfin.tail-abc.ts.net. Tailscale Serve handles HTTPS + cert; the Docker sidecar tagged tag:media runs the actual server; ACLs keep it family-only.

Prerequisites

Hardware notes

Most home servers, Pi 5s, NUCs, and Apple Silicon Minis are fine.

Steps

Run Jellyfin via the Docker sidecar pattern ~10 min

Same pattern as the Core Docker sidecar project. Save as ~/jellyfin/docker-compose.yml:

services:
  ts-jellyfin:
    image: tailscale/tailscale:latest
    hostname: jellyfin
    environment:
      - TS_AUTHKEY=${TS_AUTHKEY?required}
      - TS_EXTRA_ARGS=--advertise-tags=tag:media
      - TS_SERVE_CONFIG=/config/serve.json
      - TS_STATE_DIR=/var/lib/tailscale
    volumes:
      - ts-state:/var/lib/tailscale
      - ./serve-config.json:/config/serve.json
      - /dev/net/tun:/dev/net/tun
    cap_add: [net_admin, sys_module]
    restart: unless-stopped

  jellyfin:
    image: jellyfin/jellyfin:latest
    network_mode: service:ts-jellyfin
    environment:
      - JELLYFIN_PublishedServerUrl=https://jellyfin.tail-abc.ts.net
    volumes:
      - jellyfin-config:/config
      - jellyfin-cache:/cache
      - /path/to/media:/media:ro
    restart: unless-stopped
    devices:
      - /dev/dri:/dev/dri              # Intel/AMD iGPU for transcoding

volumes:
  ts-state:
  jellyfin-config:
  jellyfin-cache:

And the serve config serve-config.json:

{
  "TCP": { "443": { "HTTPS": true } },
  "Web": {
    "${TS_CERT_DOMAIN}:443": {
      "Handlers": { "/": { "Proxy": "http://127.0.0.1:8096" } }
    }
  }
}

Bring it up ~3 min

Generate a Tailscale auth key with tag:media. Then:

cd ~/jellyfin
export TS_AUTHKEY="tskey-auth-XXXXX"
docker compose up -d
docker compose logs -f ts-jellyfin   # wait for "Success."

Initial Jellyfin setup ~10 min

From your laptop's browser, visit https://jellyfin.tail-abc.ts.net. The Jellyfin setup wizard appears.

  • Pick your language
  • Create your admin account (use a real password)
  • Add a media library: name it "Movies" or "TV Shows", point it at /media

Jellyfin scans, finds your files, fetches metadata. Wait for the scan to finish.

Watch from any device ~3 min

  • Browser: visit your tailnet URL
  • iPhone/iPad: install "Jellyfin Mobile" from the App Store, point at the URL
  • Android / Android TV: install Jellyfin from Play Store
  • Apple TV: install Jellyfin from the App Store
  • Smart TV via Chromecast: cast from the mobile app

ACL: family access only ~3 min

Tighten access so random tagged tailnet members can't reach Jellyfin:

{
  "acls": [
    { "action": "accept", "src": ["group:family"], "dst": ["tag:media:*"] }
  ]
}

Enable hardware transcoding (optional) ~10 min

Direct play (no transcoding) works for most devices. For older clients or limited bandwidth, enable HW acceleration:

  • Intel/AMD iGPU on Linux: the /dev/dri mount enables it. Configure: Dashboard โ†’ Playback โ†’ Transcoding โ†’ "Intel QuickSync" or "AMD AMF".
  • Nvidia GPU: install Nvidia Container Toolkit, add runtime: nvidia. Worth it if you have one.
  • Apple Silicon: VideoToolbox in Jellyfin's settings.

Verify

Common issues

Variations

Where this leads