Jellyfin/docker-compose.yml

35 lines
825 B
YAML

version: "3.2"
services:
jellyfin:
image: ghcr.io/linuxserver/jellyfin
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
volumes:
- ./config:/config
- tvshows:/data/tvshows
- movies:/data/movies
ports:
- 8096:8096
- 8920:8920
- 7359:7359/udp
- 1900:1900/udp
restart: unless-stopped
volumes:
movies:
driver: local
driver_opts:
type: nfs
o: addr=10.10.0.12,nolock,soft,rw
device: ":/export/movies"
tvshows:
driver: local
driver_opts:
type: nfs
o: addr=10.10.0.12,nolock,soft,rw
device: ":/export/tv_shows"