this post was submitted on 25 Dec 2024
18 points (90.9% liked)

Jellyfin: The Free Software Media System

5895 readers
2 users here now

Current stable release: 10.10.3

Community Standards

Website

Forum

GitHub

Documentation

Feature Requests

Matrix (General Information & Help)

Matrix (Announcements)

Matrix (General Development)

Matrix (Off-Topic) - Come get to know the team and blow off steam!

Matrix Space - List of all the available rooms on Matrix.

Discord - Bridged to our Matrix rooms

founded 4 years ago
MODERATORS
18
Container vs service (self.jellyfin)
submitted 3 weeks ago* (last edited 2 weeks ago) by SailorsLife to c/[email protected]
 

The last post on the subject I could find was a year ago. So thought I would ask again. I have debian 12 up on miniPC and I have my NAS mounted. My intention is to use jellyfin and some of the arr* stuff. I know only a little about systemd (I just google what I need to know). I have some contianer knowledge, but mostly in k8s. And the docker parts aren't really my problem. But I have a vague understanding of docker. What are the latest pros and cons of containers vs service installation?

Edit: The opinions were unanimous. Containers it is.

you are viewing a single comment's thread
view the rest of the comments
[–] CodeMonkeyUK 5 points 3 weeks ago (4 children)

Cannot recommend container approach enough. The learning curve isn't too bad, initially it can be daunting but best way is to jump straight in and try it.

Few things I recommend:

  • Portainer, a very nice container management webapp
  • Use compose /stack from day 1, or at least try it before you get carried away with too many containers. Take a copy and save somewhere and build up your catalogue of containers/configs.
  • Volumes, make sure they are persistent.
  • Backup your docker config folders, especially if using development branches.
  • Spend a day/weekend playing with setup, expecting to throw away and start again. Sounds bad but it's not. If you use compose/stacks you can spin up in seconds.
[–] SailorsLife 1 points 3 weeks ago (2 children)

When you say "Backup your docker config folders". Are you talking about the directory were you would store the dockerfile / docker compose file?

[–] CodeMonkeyUK 2 points 2 weeks ago (1 children)

That too, but no, I was referring to the data/config folders for each container.

For example, radarr it would be the config volume you mounted. Generally, the *arrs use a volume called 'config', but other containers will differ.

I've only had to recover from backups twice in 5 years, once was my fault after fiddling with databases. But if you're using the development/nightly branches, it's best to be cautious and avoid having to reconfigure.

[–] SailorsLife 1 points 2 weeks ago

oh, gotcha. Thanks, and good point. I was thinking of using bind mounts instead of volumes so I can access them easier. That should make backing them up to the NAS easier as well.

load more comments (1 replies)