Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.5'
- services:
- jellyfin:
- image: jellyfin/jellyfin
- container_name: jellyfin
- network_mode: 'host'
- volumes:
- - /home/kelsey/jellyfin/Config:/config
- - /home/kelsey/jellyfin/Cache:/cache
- - type: bind
- source: /home/kelsey/jellyfin/media
- target: /media
- - type: bind
- source: /home/kelsey/jellyfin/media2
- target: /media2
- 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'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement