Files
jellyfin/docker-compose.yml
T

20 lines
731 B
YAML

services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
network_mode: 'host'
volumes:
- /var/lib/docker/volumes/jellyfin/config:/config
- /var/lib/docker/volumes/jellyfin/cache:/cache
- type: bind
source: /network/Datas
target: /media
read_only: true
# Optional - extra fonts to be used during transcoding with subtitle burn-in
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=http://jellyfin.maison
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- 'host.docker.internal:host-gateway'