23 lines
466 B
YAML
23 lines
466 B
YAML
services:
|
|
jellyfin:
|
|
# GID might need to be manuall set (id -g)
|
|
user: ${UID}:${GID}
|
|
restart: unless-stopped
|
|
image: jellyfin/jellyfin:latest
|
|
container_name: jellyfin
|
|
volumes:
|
|
- ./config:/config
|
|
- ./cache:/cache
|
|
- ${ZFS_POOL}/media:/media
|
|
ports:
|
|
- 8096:9096
|
|
# Requires packages:
|
|
# nvidia-contianer-toolkit
|
|
# runtime: nvidia
|
|
# deploy:
|
|
# resources:
|
|
# reservations:
|
|
# devices:
|
|
# - capabilities: [gpu]
|
|
|