Hacker News new | ask | show | jobs
by snapplebobapple 37 days ago
If you want to install install docker engine (super simple instructions on docker's website) then if you make a directory and put the compose file below in it (you can call it whatever but docker-compose.yaml is a convention choice) and create another directory in that directory named "jellyfin" the below compose file will work mostly out of the box. you just run docker compose up -d in the directory. If you named the compose file something else you just need to specify -f filenameofcompose in the run command. I included an nfs mount example you can delete if you aren't using nfs mount (the volumes: head and examplenfsmount at the bottom) or adjust it/copy it for your nas situation. If you have your media locally mounted on the computer you are doing this on you can change out the xamplenfsmount for /path to your files. you can also duplicate that line for any other paths to media on your system/nfs/etc. once it's up you just go to http://ipofthebox:8096/jellyfin in a web browser and follow the prompts. It's not too bad at all to get going. I'm out of time to check you might not need /jellyfin in the url. if the first line doesn't work try it without /jellyfin

services: jellyfin-jellyfin: container_name: jellyfin image: jellyfin/jellyfin:latest environment: user: 1000.100 #change this if you want your user to not be 1000 and your group to not be 100 should be fine in most cases. TZ: America/Chicago #change me to your timezeone volumes: - examplenfsmount:/mnt/movies:ro - ./jellyfin:/config

    devices:
      - /dev/dri:/dev/dri
      - /dev/dri/renderD128:/dev/dri/renderD128
    ports:
      - 8096:8096
volumes: examplenfsmount: driver: local driver_opts: type: "nfs" o: "addr=YOURNASIP,nolock,soft" device: ":/YOURNASMOUNT"
1 comments

Thanks for the effort of posting this, but I'm not sure what this solves. Deploying Jellyfin is easy. DRI is easy. Configuring it, herding my library structure, making sure I have friendly file formats, getting the myriad client devices to work, subtitles...

At one point a friend told me "I just went through the Trash guides once and job done". I spent a half hour looking at them, then another half hour giving that stuff ago and threw my hands up in the air and went back to Plex to watch some stuff after a wasted hour.

I found that side easy and the compose file config to be the tricky bit personally, but I have android devices or linux devices, no more exotic things like roku. My directory structure was already /tv/tv show name/season/episode and /movies/movie name/file.mkv/mp4/etc so it just worked. Subtitles was a pretty easy plugin built into jellyfin and maybe an api key (it's been a while I don't really remember).