Files
homelab-infra/hosts/home-morefine/docker/jellyfin/docker-compose.yaml

36 lines
872 B
YAML

services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
hostname: Films
networks:
- caddy_internal
dns:
- 192.168.1.131 # pi-hole
volumes:
- ~/docker/jellyfin/config:/config
- ~/docker/jellyfin/cache:/cache
- /media/vk/L200/Media:/media
- /mnt/wd:/media_wd
# - /path/to/media2:/media2:ro
devices:
- /dev/dri:/dev/dri
restart: 'unless-stopped'
#ports:
# - 8096:8096
# - 7359:7359/udp
# Optional - alternative address used for autodiscovery
#environment:
# - JELLYFIN_PublishedServerUrl=http://media.local
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
#extra_hosts:
# - "host.docker.internal:host-gateway"
networks:
caddy_internal:
name: caddy_internal
external: true