mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 11:55:16 +05:30
28 lines
467 B
Plaintext
28 lines
467 B
Plaintext
[Unit]
|
|
Description=Jellyfin Container
|
|
|
|
[Container]
|
|
Pod=starrs.pod
|
|
ContainerName=jellyfin
|
|
Image=lscr.io/linuxserver/jellyfin:latest
|
|
|
|
# Enable auto-update container
|
|
AutoUpdate=registry
|
|
EnvironmentFile=./.env
|
|
|
|
Volume=%h/podman/starrs/jellyfin:/config
|
|
Volume=${DATA}/media:/data
|
|
|
|
# gpu acceleration
|
|
AddDevice=/dev/dri
|
|
GroupAdd=989
|
|
|
|
[Service]
|
|
EnvironmentFile=%h/.config/containers/systemd/starrs/.env
|
|
Restart=always
|
|
TimeoutStartSec=300
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|