Jellyfin
YAML
services:
jellyfin:
image: jellyfin/jellyfin:10.10.3
container_name: jellyfin
user: 1000:1000
# network_mode: 'host'
volumes:
- ./config:/config
- ./cache:/cache
- type: bind
source: /storage/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: /storage/jellyfin/fonts
target: /usr/local/share/fonts/custom
read_only: true
restart: 'unless-stopped'
ports:
- 8096:8096
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=https://example.domain.dev
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
# extra_hosts:
# - 'host.docker.internal:host-gateway'