• The Stoned Hacker@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 hour ago

          It’s not that difficult to get SELinux working with podman quadlets, especially if you run things rootless. I have a kerberized service account for each application I host and my quadlets are configured to run under those. I very rarely encounter applications that simoky can’t be run rootless but I usually can find an adequate alternative. I think right now the only thing that runs as root is one of the talk or collabora containers in my nextcloud stack. No selinux issues either.

          • epicshepich@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            23 minutes ago

            I use podman-compose with system accounts and I don’t have a ton of issues. The biggest one is that I can’t seem to get bluetooth and pip working on Home Assistant at the same time. Most of the servers I manage have SELinux and it works fine as long as I use :z/:Z with bind mounts.

            A few years ago, I set up a VPS for my friend’s business; at the time, I didn’t know how to work with SELinux so I just turned it off. I tried to flip it back on, and it somehow bricked the system. We had to restore from a backup. Since then, I’ve been afraid to enable it on my flagship homelab server.

            • WhyJiffie@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 minutes ago

              are you sure it really bricked it? when turning it on, on next boot it needs to go over all the files and retag them or something like that, and it can take a significant amount of time

  • DownByLaw@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    19
    ·
    3 hours ago

    Have you already tried implementing an identity provider like Authentik, so you can add OIDC and ldap for all your services, while you are the only one that’s using them? 🤔

    • cenzorrll@piefed.ca
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      I’ve moved my homelab twice because it became stable, I really liked the services it was running, and I didn’t want to disturb the last lab**cough**prod server.

      My current homelab will be moar containers. I’m sure I’ll push it to prod instead of changing the IP address and swapping name tags this time.

  • nucleative@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    2 hours ago

    Never run:

    docker compose pull
    docker compose down
    docker compose up -d
    

    Right before the end of your day. Ask me how I know 😂

    • shym3q@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 hour ago

      compose up will automatically recreate with newer images if the new one were pulled. so there is no need for compose down btw

  • FauxLiving@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    4 hours ago

    The comments in this thread have collectively created thousands of person-hours worth of work for us all…

  • greedytacothief@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 hours ago

    Yeah, my home server was being a little too stable and I wasn’t really learning anything. So I switched from fedora to proxmox, now I’ve got a nixos vm I’m going to try to get all my services running in.

  • Fedegenerate@fedinsfw.app
    link
    fedilink
    English
    arrow-up
    12
    ·
    5 hours ago

    Going into spring/summer that’s ideal, I wanna go places do things. Mid winter, I’m feature creeping till something breaks.