Lemmy selfhost hints
from Shimitar@feddit.it to selfhosted@lemmy.world on 26 Jan 13:58
https://feddit.it/post/14341653

Hi all!

I have decided to setup and selfhost my own private Lemmy instance.

I will be doing with docker (podman, actually).

Should I host at home or use a dedicated VPS?

Anybody selfhosting its own Lemmy?

Do you guys have any hints for me?

#selfhosted

threaded - newest

mesamunefire@lemmy.world on 26 Jan 14:30 next collapse

If you have less than 10 or so users, id say go ahead and self host. It’s not terribly resource intensive at least not on my personal instance. I use it to test posts, solutions that will eventually make it’s way into a pr, or just experiments and that can (and does) run on a pi.

Shimitar@feddit.it on 26 Jan 15:32 collapse

Thanks! I have a more powerful hardware than a pi, how is it about bandwidth?

I will have two, maybe three users.

mesamunefire@lemmy.world on 26 Jan 15:47 next collapse

Not too much. I don’t have specific stats but there’s not much video being shared. We are not at the level where it takes too much bandwidth.

schizo@forum.uncomfortable.business on 26 Jan 22:11 collapse

Very very little. It’s a billion tiny little bits of text, and if you have image caching enabled, then all those thumbnails.

My personal instance doesn’t cache images since I’m the only one using it (which means a cached image does nobody any good), and i use somewhere less than 20gb a month, though I don’t have entirely specific numbers, just before-lemmy and after-lemmy aggregates.

Shimitar@feddit.it on 27 Jan 05:34 collapse

Thanks!

mesamunefire@lemmy.world on 26 Jan 14:33 next collapse

Advice: make sure you deploy the latest version of Lemmy! The newest one solves a lot of federation/backend stuff (hint hint Lemmy.world).

Shimitar@feddit.it on 26 Jan 15:32 collapse

Ok, indeed, will go with latest for sure, thanks

paequ2@lemmy.today on 26 Jan 15:32 next collapse

Shortcut: use Tailscale to create your own private network and avoid hosting on the big, bad Internet. Otherwise, you really have to be careful on how you protect your services.

Minor downside (or upside) is that you’ll have to install the Tailscale app on each device you want to make part of the network.

This made hosting at home a lot easier for me.

Update: Ah! I misread the post. Tailscale doesn’t make sense for this use case. My bad! 😅

Shimitar@feddit.it on 26 Jan 15:34 next collapse

Thank you, I am allergic to tailscale (joking).

I already selfhost lots of stuff for family and friends using reverse proxy+https a public domain(s) and a VPS tunneled back (wireguard) home since I am behind CGNAT. And authelia on top of it all.

My setup should be safe enough also for a Lemmy instance.

johntash@eviltoast.org on 26 Jan 18:08 collapse

If you haven’t seen it, headscale is an open source controller for tailscale clients. Assuming your allergies are related to using their public offering.

Shimitar@feddit.it on 26 Jan 19:05 collapse

I have heard of headscale, and agree that would fix my allergies.

But I don’t have a use case for that either, so…

Maybe in the future, who knows.

Evkob@lemmy.ca on 26 Jan 15:50 collapse

A lemmy instance hosted behind Tailscale would be unable to federate, no?

paequ2@lemmy.today on 26 Jan 15:56 collapse

Yeah, you’re right. Bad advice actually. Oops.

poVoq@slrpnk.net on 26 Jan 19:50 collapse

You might be interested in our Podman quadlet scripts then: f-hub.org/Solarpunk/lemmy-podman

Shimitar@feddit.it on 26 Jan 20:28 collapse

Thank you! This is really interesting, will look into it.