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!
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:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
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.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
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!
Please don't forget to give us updates on your adventure^^
I was able to get it setup, main things to watch out for:
I only used it for testing purposes, but performance was fine (on a Pi4 4gb). Note I only ever had one user.
As I only want to use it for myself as jump-off point (and to mess around a tad) I'm fine with performance on an RPi4 (have the 8 GB version), but I'm struggling to get it next to the rest in my Debian install on it.
Local install fails as I need imagemagick 7 (Debian still had 6.9), and it refuses to compile with imei method. (that script wants to use /usr/local/bin/identify which I think it needs to install itself (part of imagemagick) and the compose file I couldn't get to work with an external (already hosted) postgres.
Any tips? I'm totally new with docker and ansible.
I don't think there should be any problems, lemmy is a fairly lightweight web application, it's compiled so no big overhead of some runtime like ruby in case of mastodon. I haven't tried it on a raspberry Pi, but on my server the load is always just around 0.1
The only bottleneck I could think of was Postgres, but I've been running postgres on raspberry pies without any problems before too.
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.
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.
You are right -- I completely forgot about those, thanks.
I would wonder how well it would perform.
Something between "usable" to "a complete nightmare" -- depending of how popular the lemmy instance is. Which would scare new users away, leaving it as a "cool kids only" thing. Then again, theres the fact that the power draw is little to none, which is very important regarding most self-hosting stuff -- "can't use it if I can't maintain it".
Hey OP, I'm on a similar journey (except I'm using an rpi kubernetes cluster)
I don't have advice but I do want to wish you good luck
Here: my daily "simply a nice stranger" award goes to you