MasterpieceDockerCompose/jellyfin/docker-compose.yml

22 lines
1.2 KiB
YAML

version: "3"
services:
jellyfin:
container_name: linuxserver-jellyfin
image: ghcr.io/linuxserver/jellyfin
restart: unless-stopped
ports:
- ${JELLYFIN_WEBUI_PORT:-8096}:8096
- ${JELLYFIN_CLT_DSC_PORT:-7359}/udp:7359/udp # opzionale, servizio discovery per i client
- ${JELLYFIN_SVC_DSC_PORT:-1900}/udp:1900/udp # opzionale, servizio DLNA
env_file: .env
volumes:
- ${JELLYFIN_CONFIG:-/home/docker/jellyfin/config}:/config
- ${JELLYFIN_DATA:-/home/docker/jellyfin/data}:/data
#- /opt/vc/lib:/opt/vc/lib # percorso per librerie OpenMAX, necessario solo per RaspberryPi
devices:
- /dev/dri:/dev/dri # necessario per usare Intel VAAPI video encoding
#- /dev/vcsm:/dev/vcsm # necessario solo per usare Raspberry Pi MMAL video encoding
#- /dev/vchiq:/dev/vchiq # necessario solo per usare Raspberry Pi OpenMax video encoding
#- /dev/video10:/dev/video10 # necessario solo per usare Raspberry Pi V4L2 video encoding
#- /dev/video11:/dev/video11 # necessario solo per usare Raspberry Pi V4L2 video encoding
#- /dev/video12:/dev/video12 # necessario solo per usare Raspberry Pi V4L2 video encoding