kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Selfhosted@lemmy.worldbyeric@lemmy.ca
2 years

Installing Jellyfin as a Podman Quadlet

ericthomas.ca English

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.

30
    Jellyfin is everyone’s favourite open-source multimedia player. This guide goes over how to install it as a Podman Quadlet. This assumes you already have Podman setup for Quadlets. Follow this guide to setup Podman for Quadlets. Create the container First, create and edit sudo nvim ~/containers/jellyfin.container, if you don’t use Neovim, replace nvim with whichever text editor you prefer. Paste the follwing. Replace {USER} with your user, {PUID} with the value of id {USER} -u, {PGID} with the value of id {USER} -g, and change your time zone accordingly.
    You must log in or register to comment.

    • cmgvd3lw@discuss.tchncs.deEnglish
      2 years

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

        • dont@lemmy.worldEnglish
          2 years

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

          • Possibly linux@lemmy.zipEnglish
            2 years

            Podman compose is not maintained and should not be used.

            Qualets leverage systemd and a Kubernetes like system to create deployments that are much more dynamic. Basically you can manage your containers just like any other resource

              • ShortN0te@lemmy.mlEnglish
                2 years

                Who says that it is no longer maintained? https://github.com/containers/podman-compose Looks fine to me?

                  • Zanathos@lemmy.worldEnglish
                    2 years

                    It’s literally maintained by Fedora. Not sure why he claimed that.

                    • khorak@lemmy.dbzer0.comEnglish
                      2 years

                      Does it support the docker compose plugin / v2 API (the ‘docker compose’ plugin and not the old ‘docker-compose’ command)?

                • lime!@feddit.nuEnglish
                  2 years

                  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
                      English
                      2 years

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

                        • lime!@feddit.nuEnglish
                          2 years

                          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
                              English
                              2 years

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

                              • eric@lemmy.ca
                                English
                                2 years

                                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.nuEnglish
                                    2 years

                                    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
                                        English
                                        2 years

                                        I’m picking up what you’re throwing down. I’m writing one on qBittorrent and will take that into considering. Thanks for helping me.

                                          • lime!@feddit.nuEnglish
                                            2 years

                                            i’m glad you found it useful, best of luck :)

                                • TheOneCurly@lemm.eeEnglish
                                  2 years

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

                                    • eric@lemmy.ca
                                      English
                                      2 years

                                      Thanks!

                                    • Lem453@lemmy.caEnglish
                                      2 years

                                      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.comEnglish
                                          2 years

                                          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.caEnglish
                                              2 years

                                              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.comEnglish
                                                  2 years

                                                  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.worldEnglish
                                                      2 years

                                                      What do you have set up for mesh VPN?

                                                        • exu@feditown.comEnglish
                                                          2 years

                                                          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.worldEnglish
                                                              2 years

                                                              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?

                                                                • exu@feditown.comEnglish
                                                                  2 years

                                                                  Apologies for the late response

                                                                  I can access every node by IP (IPv6 to be precise).
                                                                  Discovery within a local network happens through regular broadcasts. For connecting different networks, you need to set peering addresses that are reachable and configure the other side to listen.
                                                                  You only need one node per network though, the others will automatically discover the path and connect on the best route to their target. If your node in the middle falls over, any other node that’s reachable can be used instead. The Yggdrasil Blog posts have some explainations of the algorithms used.

                                                                  There’s no explicit gateway, but you can use standard routing and firewall tools to do whatever you want. I only use it for accessing internal stuff, not as a full VPN for my client devices, but you could probably make that work by setting one node as router and configure its Yggdrasil ip as you gateway (excluding the traffic you need to connect to the VPN).

                                                                  One downside is that everything’s still in progress and most versions change significant parts of the routing scheme, meaning it doesn’t work with the previous version. It is primarily a research tool for internet scale mesh networks, but releases are also infrequent enough where you shouldn’t worry too much.

                                                      • Chais@sh.itjust.worksEnglish
                                                        2 years

                                                        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.

                                                          • Appoxo@lemmy.dbzer0.comEnglish
                                                            2 years

                                                            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

                                                            • ᕙ(⇀‸↼‶)ᕗ@lemm.eeEnglish
                                                              2 years

                                                              because lennart poettering is an asshole.

                                                          • Otter@lemmy.caEnglish
                                                            2 years

                                                            Cool :)

                                                            Thanks for sharing!

                                                              • eric@lemmy.ca
                                                                English
                                                                2 years

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

                                                              Selfhosted@lemmy.world

                                                              selfhosted@lemmy.world

                                                              Subscribe from remote instance

                                                              Create post

                                                              Report community

                                                              Modlog
                                                              You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

                                                              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.

                                                              3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

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

                                                              5. Submission headline should match the article title.

                                                              6. No trolling.

                                                              Resources:

                                                              • selfh.st Newsletter and index of selfhosted software and apps
                                                              • awesome-selfhosted software
                                                              • awesome-sysadmin resources
                                                              • Self-Hosted Podcast from Jupiter Broadcasting

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

                                                              Questions? DM the mods!

                                                              Visibility: Public

                                                              This community is visible to everyone.

                                                              • 720 users / Day
                                                              • 1.57K users / Week
                                                              • 1.68K users / Month
                                                              • 13.5K users / 6 months
                                                              • 6.12K posts
                                                              • 149K comments
                                                              • 1 local subscriber
                                                              • 60.1K subscribers
                                                              • UI: 1.0.0-beta.0
                                                              • BE: 1.0.0-alpha.20
                                                              • Modlog
                                                              • Instances
                                                              • Docs
                                                              • Code
                                                              • join-lemmy.org