Skip to content

Instantly share code, notes, and snippets.

@alanorth
Created March 14, 2025 16:43
Show Gist options
  • Save alanorth/bd74daf8464ef7fd386806bf8d0fc6d2 to your computer and use it in GitHub Desktop.
Save alanorth/bd74daf8464ef7fd386806bf8d0fc6d2 to your computer and use it in GitHub Desktop.
~/.config/containers/systemd/jellyfin.container
[Container]
Image=docker.io/jellyfin/jellyfin:latest
AutoUpdate=registry
PublishPort=8096:8096/tcp
UserNS=keep-id
Environment=TZ=Africa/Nairobi
AddDevice=/dev/dri/:/dev/dri/
Volume=jellyfin-config:/config:Z
Volume=jellyfin-cache:/cache:Z
Volume=/srv/video:/srv/video:ro
Volume=/srv/music:/srv/music:ro
[Service]
# Inform systemd of additional exit status
SuccessExitStatus=0 143
[Install]
# Start by default on boot
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment