services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin user: 1003:1003 network_mode: 'host' volumes: - /home/jellyfin/jellyfin/config:/config - /home/jellyfin/jellyfin/cache:/cache - type: bind source: /home/jellyfin/jellyfin/media target: /media # - type: bind # source: /path/to/media2 # target: /media2 # read_only: true # Optional - extra fonts to be used during transcoding with subtitle burn-in # - type: bind # source: /path/to/fonts # target: /usr/local/share/fonts/custom # read_only: true restart: 'unless-stopped' # Optional - alternative address used for autodiscovery # environment: # - JELLYFIN_PublishedServerUrl=http://example.com # Optional - may be necessary for docker healthcheck to pass if running in host network mode # extra_hosts: # - 'host.docker.internal:host-gateway' devices: - "/dev/dri:/dev/dri" # Intel QSV