You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
917 B
34 lines
917 B
[Unit]
|
|
Description= The Free Software Media System
|
|
Documentation=https://docs.linuxserver.io/images/docker-jellyfin/
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
RequiresMountsFor=/var/lib/virtiofs/data
|
|
ConditionPathIsMountPoint=/var/lib/virtiofs/data
|
|
|
|
[Container]
|
|
ContainerName=jellyfin
|
|
|
|
# Image
|
|
Image=lscr.io/linuxserver/jellyfin:latest
|
|
AutoUpdate=registry
|
|
|
|
# Security
|
|
User=10017
|
|
Group=10000
|
|
|
|
# Storage
|
|
Volume=/var/lib/virtiofs/data/jellyfin/config:/config:z
|
|
Volume=/var/lib/virtiofs/data/storage/media:/data:z
|
|
|
|
# Network
|
|
AddCapability=CAP_NET_BIND_SERVICE
|
|
Network=host
|
|
|
|
# Configuration
|
|
Environment=PUID=10017 PGID=10000 JELLYFIN_DATA_DIR=/config/data JELLYFIN_CONFIG_DIR=/config JELLYFIN_LOG_DIR=/config/log JELLYFIN_CACHE_DIR=/config/cache JELLYFIN_WEB_DIR=/usr/share/jellyfin/web TZ=Etc/UTC
|
|
Entrypoint=/usr/bin/jellyfin
|
|
Exec=--ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
|
|
|
|
[Install]
|
|
WantedBy=seedbox.target
|
|
|