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