version: "3"
services:
jellyfin:
image: hotio/jellyfin
container_name: jellyfin
#stdin_open: true
#tty: true
environment:
- PUID=1000
- PGID=1000
- UMASK=002
- TZ=Asia/Shanghai
restart: always
ports:
- 8096:8096
volumes:
- ./config:/config
- jellyfinVolume:/opt/data/jellyfin
privileged: true
volumes:
jellyfinVolume:
driver_opts:
type: "nfs"
o: "addr=192.168.1.3,nolock,soft,rw,timeo=30,retry=3"
device: ":/volumeUSB1/usbshare/video"