I'm pretty new to self-hosting in general, so I'm sorry if I'm not using correct terminology or if this is a dumb question.
I did a big archival project last year, and ripped all 700 or so DVDs/Blu-rays I own. Ngl, I had originally planned on just having them all in a big media folder and picking out whatever I wanted to watch that way. Fortunately, I discovered Jellyfin, and went with that instead.
So I bought a mini pc to run Ubuntu server on, and I just installed Jellyfin directly there. Eventually I decided to try hosting a few other services (like Home Assistant and BookLore (R.I.P.)), which I did through Docker.
So I'm wondering, should I be running Jellyfin through Docker as well? Are there advantages to running Jellyfin through Docker as opposed to installed directly on the server? Would transitioning my Jellyfin instance to Docker be a complicated process (bearing in mind that I'm new and dumb)?
Thanks for any assistance.
Isolating network services from the rest of your system is a good thing
Bearing that in mind, I now have a new problem, which is that apparently none of my containers actually have internet access? I hadn't noticed because I mostly just run local media servers, and I tend to clean up all the metadata before I upload anything (i.e. I usually clean up my ebooks in Calibre before I send them to BookLore, so I've never had to actually use BookLore to fetch anything from the web).
Only way I was able to get internet access in any of my containers was adding
to the docker-compose.yml files, which, if I'm understanding correctly, negates the point of isolating network services, no? So something is broken somewhere but I have no idea what it is or how to fix it, so I guess my JF server is staying on bare metal for now lol
Do you mean the ability of jellyfin to access the internet or the ability for network access to jellyfin.
If you mean the second then you need to map ports https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/
If you mean the first then something is wonky, but also using host mode still doesn't negate the point. You're still only allowing the processes in the container to access only directories you've specified and isolated them from the other processes on the system. It's about limited the blast radius if an exploit against your network application occurred
Jellyfin isn't running in a docker container, so it's working fine. I've just noticed that everything I am running in a container doesn't have network access, unless I change network mode to host in that container's compose yml. So I guess docker's network bridge isn't configured correctly? Which makes sense, as I have basically no idea what I'm doing lmao. So until I figure out what's going on there, I think I'll just let my JF server run as is. I'd prefer it in a container I think, but not before I figure out what exactly I broke.