12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- version: '3.7'
- # Made to be run with docker-compose, for GPU passthrough.
- networks:
- media:
- driver: overlay
- attachable: true
- services:
- jellyfin:
- image: jellyfin/jellyfin:10.7.7
- # GPU encoding doesn't work currently
- deploy:
- resources:
- reservations:
- devices:
- - driver: nvidia
- count: 1
- capabilities: [gpu]
- expose:
- - "8096"
- user: 1000:1000
- ports:
- - mode: host
- published: 8096
- target: 8096
- tmpfs:
- - /transcodes:mode=770,size=12000000000,uid=1000,gid=1000
- volumes:
- - ${CONTAINERS_DIR}/jellyfin:/config
- - ${MEDIA_DIR}:/media
- restart: always
- networks:
- - media
- jellyfixer:
- image: quay.io/xsteadfastx/jellyfixer:latest
- command: http://jellyfin:8096/jellyfin
- expose:
- - "8088"
- ports:
- - mode: host
- published: 8088
- target: 8088
- environment:
- - JELLYFIXER_INTERNAL_URL=http://jellyfin:8096/jellyfin
- - JELLYFIXER_EXTERNAL_URL=https://jellyfin.${DOMAIN}/jellyfin
- restart: always
- networks:
- - media
|