Does anyone run their own Lemmy instance on a pi? How was the process of setting it up? Were there any pitfalls? How is performance?

  • blotz@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    Im looking at setting up a lemmy instance on a rpi3 with cloudflared tunnel! I’m curious to see if anyone else has done this and how it was.

    Edit: I’ll give it a whirl and hopefully post an update from my new instance later!

    Edit 2: I appear to have lost my micro sd card reader! I cant write a new image hah nevermind found it!

  • marsara9@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I was able to get it setup, main things to watch out for:

    • Don’t use the provided docker compose file. Or more precisely don’t build from source and lookup the correct image tag on docker hub first.
    • The documentation was a bit confusing. This isn’t really specific for the Pi but since I was creating a compose file from scratch some of the steps listed didn’t quite explain all of the details.

    I only used it for testing purposes, but performance was fine (on a Pi4 4gb). Note I only ever had one user.

  • GustavoM@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Not yet, but I’m planning to. And I don’t think there will be any “pitfalls” at all other than your microsd dying in a couple of months rather than years due to it getting hammered constantly by API requests, etc.

    • r00ty@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      You could plug in a USB SSD or HDD and make sure the DB and other regularly written data goes there. That would pretty much remove the problem.

      I would wonder how well it would perform. The limited memory and cpu power surely would make database access not great under even moderate load.

    • blotz@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Are you asking me what i plan to set the cap to? I guess just me. I cant see anyone else wanting to run off a pi from my house and there are so many other instances to join.