first commit
This commit is contained in:
23
jellyfin.container
Normal file
23
jellyfin.container
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Jellyfin Server
|
||||
|
||||
[Container]
|
||||
ContainerName=jellyfin
|
||||
Image=docker.io/jellyfin/jellyfin:latest
|
||||
AutoUpdate=registry
|
||||
PublishPort=8097:8096/tcp
|
||||
UserNS=keep-id
|
||||
AddDevice=/dev/dri/:/dev/dri/
|
||||
Volume=jellyfin-config:/config:Z
|
||||
Volume=jellyfin-cache:/cache:Z
|
||||
Volume=/media/EMBY:/media:Z
|
||||
|
||||
[Service]
|
||||
# Inform systemd of additional exit status
|
||||
SuccessExitStatus=0 143
|
||||
Restart=unless-stopped
|
||||
|
||||
[Install]
|
||||
# Start by default on boot
|
||||
WantedBy=default.target
|
||||
|
||||
Reference in New Issue
Block a user