Be Your Own Cloud code · PART 3 — THE STACK

Chapter 14 Jellyfin: Your Own Media Server

2 blocks · pp. 63–64 in the paperback

Going further than the chapter: Jellyfin: Going Deeper

Deploying It

# p. 63

File /opt/stacks/jellyfin/docker-compose.yml
services:
  jellyfin:
    image: jellyfin/jellyfin:12.1
    container_name: jellyfin
    restart: unless-stopped
    volumes:
      - ./config:/config
      - ./cache:/cache
      - /mnt/media/movies:/media
    ports:
      - '8096:8096'

The One Decision That Matters: Transcoding

# p. 64

Add to /opt/stacks/jellyfin/docker-compose.yml

Add the devices lines to the jellyfin service.

services:
  jellyfin:
    # ...
    devices:
      - /dev/dri:/dev/dri   # Intel Quicksync passthrough

Reproduced exactly from Be Your Own Cloud, Chapter 14. The book explains what each line does and what to do when it doesn't work. About the book

Something here not working as the book describes? Tell the author.