What’s up, what’s down and what are you not sure about?

Let us know what you set up lately, what kind of problems you currently think about or are running into, what new device you added to your homelab or what interesting service or article you found.

  • Flarf@lemmy.theflarf.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 days ago

    I set up my own Lemmy server, mastodon, and matrix. Finally making the move off centralized social media and communication platforms

    • quantum-drifter@lemmy.ca
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 days ago

      Do you just do this for your own personal use, a few friends or just anyone from the internet?I’m just curious what the point is and how much effort is involved in connecting with other instances.

  • ItJustDonn@slrpnk.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 days ago

    Shoutout to @Estebiu@lemmy.dbzer0.com for helping me appreciate the joy of docker compose. I got to set up Navidrome and it’s been great!

    With that said, I have a security-related question: at what point in self-hosting am I exposed to the outside internet that warrants things like reverse proxies and other security measures? I’m currently typing router IPs (e.g. 192.168.x.x) to access the services, so is my machine exposed if the only people intending to connect are local on our wireless network?

    • tofu@lemmy.nocturnal.gardenOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      To expose your stuff to the outside internet, you need to actively set port forward in your internet router, you won’t do that by accident.

      • ItJustDonn@slrpnk.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 days ago

        What a relief, thanks for the clarity! I have vague memories of doing that as a teenager to play various games with friends, which sounds like something risky a teenager would do 😅

    • yabai@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      There’s nothing wrong with making a reverse proxy only for use inside your homelab. It’s one way to resolve internal DNS queries and give addresses to your services. It’s perhaps the best, because it’s the only way I know that doesn’t necessitate remembering port numbers.

      E.g. You are hosting something at 192.168.1.20 on port 3310. Even if you set a local DNS record for pihole.itjust.donn to resolve to 192.168.1.20, you’ll still have to type pihole.itjust.donn:3310 to access it. The same isn’t true with a reverse proxy.

      • ItJustDonn@slrpnk.net
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        This is good to know because I’m learning about nginx currently, so I’m glad it has practical use without opening up my network 🤘

        • yabai@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 day ago

          Call me careless, but I personally don’t think exposing services publicly is that big of a deal. I’ve been publicly exposing Home Assistant, Jellyfin, Immich, Joplin and a few others for at least 3 years now with no repercussions. Everyone’s risk tolerance is different, but I wouldn’t write off publicly available services. Precautions like a reverse proxy, Crowdsec, Fail2ban, and Authelia all lower the risk profile.

  • IronKrill@lemmy.ca
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 days ago

    I added a cheap PCI 4 slot NVMe expansion card and a couple of SSDs for a new pool and then migrated all the database-heavy stuff over to it. Required some use of local ZFS send/receive which I didn’t know was possible, but it has gone smooth so far. Very happy with it! It no longer sounds like my HDD pool is trying to escape from hell and some of the services are much snappier, especially Bitmagnet. I’d highly recommend it as an upgrade for anyone still running purely HDDs. I thought I could get away with it but ZFS speeds are no faster than single drives and the amount of stuff I had was hammering it non-stop.

    I also bought my own domain finally to escape the free-tier dynamic DNS woes and I can finally feel good about sharing links with other people. I slapped a file share container with disabled registrations on a sub domain. I put it all behind free tier Cloudflare to hide my server’s IP, it took a little bit of learning what the different records are but so far much easier than I thought. Although I have yet to do the hardest part of setting up dynamic IP for my DNS records. I see a bunch of scripts floating around, but none seem that easy or well-maintained…

    Oh, and the PI I’ve had running Pi-Hole v5 for god knows how long with no maintenance couldn’t run Tailscale, so I wiped the entire thing to start fresh and got it up and running with Pi-Hole v6, Tailscale, and Unbound. I like having these separated from my other services as they are more critical to have at all times and I have had 100% uptime with my Pi so far. Although I chose Dietpi for my OS on a whim because it looked interesting and am not sold on it. I like that it has easy software installs with sane defaults so I probably saved time overall, but the amount of time I spent debugging the weird choices Dietpi made for basic shit like networking options really threw me off.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 days ago

    I’m moving to Podman quadlets for self hosting infrastructure (Forgejo and Woodpecker CI) and Kubernetes for the actual services. I also still need to figure out were I’m going to do SSL terminations.

    Nextcloud will be moved to Nextcloud AIO

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    3 days ago

    Oh, I’ve just been tinkering around with LangFlow specifically as a news aggregator.

    The flow: https://i.imgur.com/5HqznQm.png

    Then asking AI to go get me some news: https://i.imgur.com/ltZPBwC.png

    Still needs a little tinkering and as the final step, to send said news stories to my Telegram. I really have a blast with automation platforms like N8N, Flowise, Gotify, DopplerTask, & Kestra.

    Afterwards, I smoked a small bowl and worked on a couple songs I have in the works.

    HBU?

  • non_burglar@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 days ago

    More incus:

    • mounting persistent storage into containers (cheating by exporting NFS from my proxmox zfs into the incus host.
    • wrote a pruning backup script for containers, runs daily, keeps last 7 days and the first of the month
    • passed through hardware (quicksync) into jellyfin container (it works!)
    • launched an OCI container (docker home assistant) natively in incus (this is a game-changer!)

    Next:

    • build 2nd incus node
    • move all containers from proxmox to incus
    • decom proxmox
    • setup Debian with NFS export
    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      I hear about Incus being the next best thing. I’ve never played around with it. Is it all that and a bag o’ chips?

      • non_burglar@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        Side question, but where are you hearing this about incus?

        I’m wrapping up 9 years of using proxmox and I have very specific reasons for switching to incus, but I this is the third time I’m fielding questions in the last month about incus.

      • non_burglar@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        I think so.

        It is LXD + KVM, so way more and finer tune control on lxc instances. It can run OCI images as well, so for docker instances with only a few configs and no persistent storage, it is actually quite handy. For docker instances that need pretty complicated compose files, I just run docker inside an lxc for now, until I figure that out.

        • GnuLinuxDude@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          Does Incus allow you to use a VM with a GUI? One thing that’s nice about Proxmox is I have one VM with a very basic lxqt setup for when I need that, and I can either use remote-viewer + the spice protocol to access it or access it through the Proxmox web ui. That’s been very handy.

  • Magiilaro@feddit.org
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    3 days ago

    A new homepage for the business of my wife.

    I plan to use Hugo for it, I just wish the documentation would be better.

    For the homepage I need a few additional “non-blog” pages and from the documentation I am not sure how to do that the best way.

    But to be honest, I have not really looked deeper into that, so it is very possible that I just missed something.

    • Await8987@feddit.uk
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 days ago

      Ive been using Zola for a bit now and love it. Very simplistic. Could be worth a look but simple pages can be html or markdown. Couldnt be much simpler. Super fast to build

  • Darkmoon_UK@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 days ago

    Are there any AI apps that will index markdown documents with a vector DB, then allow you to run natural language queries using some kind of RAG approach with a local LLM?

    Closest I’ve found is LlamaIndex, but this is still more of a ‘foundation’ than a turn-key solution and right now I’m too time-poor to do the assembly required…

    I realise I’m describing close-to-frontier tech, but is there anything more turn-key (Dockerised) out there yet?

    My use-case is pretty ‘vanilla’ in this space: Having a knowledge base and wanting quick answers to questions like “How should screen X behave if I am not a registered user?”.

    Thanks for any suggestions!

  • sbv@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    31
    ·
    3 days ago

    I’ve finally powered on a 15 year old machine to run a bot I’ve been writing. The thing is slow as dirt and stuck behind a flakey power line network, but it’s working. I got to write my first systemd service definition, which is kind of cool.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      The computer I’m using currently, I set the BIOS in 2012. WHen I built it, I stuffed every last piece of cutting edge tech of the time into it. Dual CPU, SLI, started with 64gb ram then later on maxed the board out at 128gb. It’s still a workhorse tho. It’s one of the three I use all the time for music production, selfhosting etc.

      • sbv@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        3 days ago

        My machine is not a workhorse. I got it second hand. It has around 8gb of RAM, and an 80gb HDD I found in a laptop.

        But it’s enough to work as a testbed, so it’s fine with me.

        • irmadlad@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          3 days ago

          This is the home lab creed: You do with what you have. Before I accumulated a bit of equipment, I’ve used laptops, RPi, minicomputers, at one time I had a cluster of Wyse thin clients bootstrapped together.

  • kate@lemmy.uhhoh.com
    link
    fedilink
    English
    arrow-up
    28
    ·
    3 days ago

    Finally switched from plex to jellyfin, seems to be ok so far. Needed to make some small scripts for metadata management but it’s running smoothly. Finally decided I’m hosting enough software with user accounts that I’ve made an authentik instance for SSO with each (ofc jellyfin first)

    • smiletolerantly@awful.systems
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 days ago

      Hey, we’re also thinking about setting up authentik. Could you answer the following, where I haven’t found answers to yet: does introducing SSO impede logging into Jellyfin on a TV / phone app at all?

    • bluGill@fedia.io
      link
      fedilink
      arrow-up
      3
      ·
      3 days ago

      Ann reason you choose authenik? There are a nmber of options and I’m not sure why to choose one over the other.

      • kate@lemmy.uhhoh.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        3 days ago

        I did no research whatsoever and picked the one I’d seen the name of more often. I figured if it didn’t work for me I’d try something else, same as when plex wasn’t working for me so I switched to jellyfin. I have no idea how it compares to the other options but it feels pretty solid so far

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        3 days ago

        I’m not the person you’re replying to, but Authentik:

        • Has a UI for configuring it, including adding users.
        • Supports LDAP if you need it. Authelia needs a separate LDAP server.
        • Supports practically every two factor auth protocol you’d need: OIDC (OpenID Connect), OAuth2, SCIM, SAML, RADIUS, LDAP, and proxying for apps that don’t support any of them (which is getting rarer).
        • Supports permissions and permission groups, i.e. only allow certain users to access particular apps.
        • Can be used as the source of truth for Google Workspace and Microsoft Entra. Maybe not as relevant for home use.

        I haven’t tried Keycloak but I hear it’s pretty good, albeit a heavier app to deploy.

        I have tried Authelia, and it’s much less powerful than Authentik. Authelia requires you to manually modify config files rather than using a web UI. It also only supports OIDC (which is in beta) and proxying. Proxying is not recommended and has several issues since it’s not “true” single sign-on.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 days ago

          I’m considering Keycloak myself because it’s trusted by security professionals (I think it’s a RedHat project), whereas Authentik is basically a passion project.

          • StaticFlow@feddit.uk
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            I hear keycloak has quarkus builds as well these days which should be much slimmer than how it used to be built.

            • sugar_in_your_tea@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 days ago

              I hadn’t heard of it, and looking into quarkus just reminded me of how complicated the whole Java ecosystem is. Gross.

              Hosting Go, Rust, etc stuff is dead simple, but with Java, there’s all this complexity…

              • dan@upvote.au
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 days ago

                Nothing’s as bad as trying to host and maintain a Ruby on Rails app :)

                Docker has made a lot of it a non-issue though, since the apps are already preconfigured within the Docker image.

        • timbuck2themoon@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          Keycloak is very much lighter actually. Can run under half a gig ram whereas authentik uses about 1GB.

          Authelia is king though in running with just about 30MB of ram.

          • dan@upvote.au
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            That’s interesting… It used to be a lot heavier.

            Authelia is definitely the lightest in terms of RAM, but it’s also the lightest in terms of features. As far as I can remember, they only added OIDC support fairly recently - previously it only supported proxying.

    • AtHeartEngineer@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      The only feature I want that jellyfin doesn’t have (or I haven’t found it) is shuffle. Throwing on how it’s made or mythbusters on shuffle is great background stuff.

      • kate@lemmy.uhhoh.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Setting up HW accel on Jellyfin was a bit more manual than a single checkbox. You have to tell it which codecs it should HW decode and encode. I had some issues with it so left it off for now

  • harsh3466@lemmy.ml
    link
    fedilink
    English
    arrow-up
    17
    ·
    3 days ago

    I’ve been learning bash and working on scripts to automate stuff in my homelab. It’s been a lot of fun. I’m currently working on a script that will rename the movies and TV shows I rip from my DVD collection.

    The script queries the tmdb api, presents me with a mwnu of matches if there’s multiple matches, renames the media files according to jellyfin spec, and then places them in the proper folders to be indexed by Jellyfin and Kodi.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      automate stuff in my homelab.

      Love me some homelab automation. It puts a smile on my face when I get a little ding from telegram giving me a summary of this morning’s email, what the weather will be for the day along with a summary of established connections to my servers 'cause I’m paranoid like that. LOL fun stuff

  • treeofnik@discuss.online
    link
    fedilink
    English
    arrow-up
    11
    ·
    3 days ago

    Recently been working on setting up forgejo to migrate away from GitHub. My open source stuff I’ve actually put onto codeberg and I’ve set up a handful of pull mirrors on my local instance for redundancy. This weekend I’ve been testing out woodpecker-ci for automating pushing files to s3 for some static websites for repos on codeberg as well as my forgejo instance. Today will tell if that is successful!

  • randombullet@programming.dev
    link
    fedilink
    English
    arrow-up
    9
    ·
    3 days ago

    I’m switching my immich instance to an SSD one and switching my VPN from zerotier to tailscale.

    Hopefully that means my Immich will be a little more reactive.

    • Await8987@feddit.uk
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      If at all possible see if you can do wireguard yourself. Tailscale is basically inserting a third party company for no reason as its just wireguard with their servers involved. For example if you can run opnsense its easy to get running via the GUI. Very rewarding!

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 days ago

        Absolutely. I used Tailscale for a bit because I didn’t want to get a VPS (I’m behind CGNAT), but I needed to expose a handful of services and use my own domain name, and I couldn’t figure that out w/ Tailscale. So I bought a cheap VPS and configured WireGuard on it to get into my LAN and I’m much happier.

        • SayCyberOnceMore@feddit.uk
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days ago

          I’m considering going this route - just to hide my (static) home IP.

          What’s the rough sizing I’d need for a VPS? I’m guessing the smallest possible, but with the best / unlimited data usage?

          • sugar_in_your_tea@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            edit-2
            3 days ago

            That really depends on your use case. I use very little transfer because most of my usage is within my LAN. I set up a DNS server (built in to my router) to resolve my domains to my local servers, and all the TLS happens on my local server, so it never goes out to the VPS. So I only need enough transfer for when I’m outside my house.

            Here’s my setup:

            • VPS - WireGuard and HAProxy - sni-based proxying
            • router - static DNS for local services
            • local servers - TLS trunking and services

            My devices use my network’s DNS, but if that fails, they fall back to some external DNS and route traffic through the VPS.

            VPSs without data caps tend to have worse speeds because they attract people who will use more transfer. I think it’s better to find one with a transfer cap that’s sufficient for your needs, so things stay fast. I use Hetzner, which has generous caps in the EU (20TB across the board) and good enough for me caps in the US (1TB base scales with instance size and can buy extra). Most of my use outside my house is showing something off every now and them, or accessing some small files or uploading something (transfer limits are only for outgoing data).

            • SayCyberOnceMore@feddit.uk
              link
              fedilink
              English
              arrow-up
              3
              ·
              2 days ago

              Ok, didn’t think about “unlimited” actually being slower - thanks for the insight.

              I’m running a pfSense f/w at the edge, so split horizon DNS and haproxy are already sorted… I’ll check out wireguard - should be straight forward

              Thanks

      • randombullet@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 days ago

        My ISP blocks all outgoing ports. Maybe I’m not trying hard enough but anything I try port forwarding ends up getting blocked.

        Minecraft and port 80 are the 2 I’ve tried and they’ve been unresponsive

        • mac@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          Pretty sure those two ports are blocked by a lot of IPs because they’re so popular

  • Encrypt-Keeper@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    2 days ago

    https://romm.app/

    A catalog for organizing various Roms you have. It can pull metadata from a number of sources and properly add all the details, cover art, and platform information to each game. It’s smart enough to auto-generate collections based on game series, and embed YouTube videos for gameplay of each one without even any configuration.

    The best part? It has Ruffle and EmulatorJS built in so you can play any games supported by EmulatorJS in your browser. I tested games up to N64 and they all ran smooth as butter right in the browser with gamepad configurations built in. They even support local multiplayer.