this post was submitted on 01 Oct 2024
93 points (94.3% liked)

Selfhosted

39452 readers
548 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

cross-posted from: https://lemmy.ca/post/30126699

I created this guide on how to install Jellyfin as a Podman Quadlet on your server. Enjoy.

all 27 comments
sorted by: hot top controversial new old
[–] lime@feddit.nu 7 points 1 day ago (1 children)

this guide, and the previous one, have a lot of weird superfluous steps. like, why use a command that includes nvim and then ask people to change it instead of just saying "edit the file"? why symlink systemd stuff to your own home directory?

the info is good, but having to separate the actually useful stuff from things that are specific to your config makes it less useful.

[–] eric@lemmy.ca 4 points 19 hours ago (1 children)

I'm still learning how to write good posts. I'll this into consideration for the next one.

[–] lime@feddit.nu 4 points 18 hours ago (2 children)

your writing overall is good! it's just a matter of information priority.

here's a tip, dunno how applicable it is but i use it when writing technical documentation:

for each step, explain to yourself why you're doing it the way you are. if it turns out you caused the step to be needed, rather than it being required, you probably need to rethink, or at least add the explanation to the text.

[–] eric@lemmy.ca 1 points 10 hours ago (1 children)

I rewrote my original quadlet article, can you have a look and let me know what you think? https://ericthomas.ca/posts/setting-up-podman-quadlets/

[–] lime@feddit.nu 1 points 3 hours ago

this is more focused for sure, but it lacks the enthusiasm of the original. if i was trying to do this for work, i would appreciate how quickly it gets to the point. however, it no longer reads like this is something you're interested in. it reads a bit wooden. i get that would happen after you've been told to correct your style though.

to be clear, the original article doesn't need to be rewritten. for the future though, when you want to tell the story of how you got something working, include your reasons for doing something a certain way. if you need a self-inflicted complication, that's not really a part of it (unless it's funny)

[–] eric@lemmy.ca 3 points 17 hours ago

That's a good tip. Thanks. I think I might tweak the existing posts for readability.

[–] cmgvd3lw@discuss.tchncs.de 16 points 2 days ago (3 children)

Hey what is the advantage of quadlets over normal podman-compose?

[–] dont@lemmy.world 2 points 1 day ago

I've wondered myself and asked here https://lemmy.world/post/20435712 – got some very reasonable answers

[–] Lem453@lemmy.ca 7 points 2 days ago* (last edited 2 days ago) (2 children)

Why would someone want containers managed by systemd instead of just having them run like normal? What is the advantage?

Also if you use cockpit or some equivalent GUI to manage your containers, do you have to give it permission to control all systemd services?

[–] exu@feditown.com 15 points 2 days ago (1 children)

I've been managing my containers using the older mechanism (systemd-generate) since I started and it's great. You get the reliable service start of systemd and its management interface. Monitoring is consistent with all your other services and you have your logs in exactly one location.

I really wouldn't want a separate interface or service manager just because I'm running containers.

[–] Lem453@lemmy.ca 1 points 2 days ago (1 children)

Do you run other things on your system other than containers? I have a VM that only runs containers so it really doesn't do anything else with systemd apart from the basics so I'm curious if there would be any advantage to me switching.

[–] exu@feditown.com 2 points 1 day ago (1 children)

Most VMs only run containers, but I have supporting services on every host as well. Stuff like the mesh VPN, monitoring agent or firewall.
If I want a quick overview, a quick systemctl status will tell me everything I need to know.

[–] barsquid@lemmy.world 1 points 1 day ago (1 children)

What do you have set up for mesh VPN?

[–] exu@feditown.com 1 points 1 day ago (1 children)

I use Yggdrasil now with a whitelist of public keys. Though I'm thinking about redoing my architecture in general to make key distribution easier, have more automated DNS entries and also use the tunnel for any node to node communication.

Before that I tried Tailscale with Headscale, but I didn't want to have a single node responsible for the network and discovery.

[–] barsquid@lemmy.world 1 points 1 day ago

That's very interesting. Once you connect something to your mesh you can access the rest of the mesh by IP? What is the gateway in that case?

[–] Chais@sh.itjust.works 4 points 1 day ago (2 children)

Why would you not want containers managed by systemd?
You get the benefits of containerisation and you don't have to learn the arcane syntax of some container engine or another.

[–] yournamehere@lemm.ee 1 points 1 day ago

because lennart poettering is an asshole.

[–] Appoxo@lemmy.dbzer0.com 1 points 1 day ago

Dunno what's arcane about setting your network up once, crrate the compose (jn my case regular docker) and write sudo docker compose up -d.
Literally using Linux in any way shape or form is more arcane than this.
Just recently learning about NFS sharing. Sure, let's write the config in /etc/export and also edit the fstab config on the guest to auto-mount it. Don't forget the whole syntax ;)

Not the mention the 100 different ways of setting up a static IP in each distro which differs slightly in any package/distro

[–] TheOneCurly@lemm.ee 7 points 2 days ago (1 children)

I have not seen quadlets before, that's really neat.

[–] eric@lemmy.ca 3 points 2 days ago
[–] otter@lemmy.ca 2 points 2 days ago (1 children)

Cool :)

Thanks for sharing!

[–] eric@lemmy.ca 5 points 2 days ago

You're welcome, stay tuned for more posts about Quadlets.