this post was submitted on 12 Jun 2023
3 points (71.4% liked)

Self Hosted - Self-hosting your services.

11498 readers
2 users here now

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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

The death of Reddit shall bring the life of Lemmy.tf

Love, Bro. Karyl

top 3 comments
sorted by: hot top controversial new old
[–] J_C___ 1 points 1 year ago (2 children)

Welcome to the hive!

Could you post some information on how you set up your server so others can do the same? I know there is a lot of interest in the unRAID community if you used docker.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

I'm one of the other Lemmy.tf admins and I'll share a bit. We're currently on the docker-compose deployment from the repo, running on a VM with 4c/8gb ram/256gb disk. It's on a baremetal VMware box at OVH with loads of resources to expand as needed.

I'm hoping we get enough users on here to force me into converting to a Helm chart and moving this to my Kubernetes cluster. Pod scaling would help address some of the issues larger instances are starting to run into, and it seems like a fun project.

As for Unraid, your best bet is to see if you can install docker-compose on it. This thread from 2020 suggests it should be possible, but the binary may not persist restarts. If you can't use compose you would probably have to strip it apart and deploy one container at a time, and potentially work around the need for the Docker networks.

I may be interested in helping with an Unraid deployment guide if there's heavy interest- I'm running it on my NAS at home and can tinker a bit. Feel free to DM me if you've got questions or need any assistance.

Edit: That Unraid forum post has a reply about using a bash alias to run docker-compose in Docker, this is the route I'd go rather than having to do jank stuff to make the binary persistent. Should be able to follow the normal docker-compose install from your root user once you have compose ready. Make sure to do your port forwarding or use Nginx Proxy Manager since SSL is mandatory to federate.

[–] [email protected] 2 points 1 year ago

Other lemmy.tf admin here! We're currently on the Docker-compose deployment from the repo, on a VM on one of my VMware nodes. 4c/8gb ram/256gb disk at the moment, with plenty of room to grow in the short term.

I am hoping our instance picks up enough users to force me into migrating to a Helm chart or writing a k8s operator for Lemmy... it would certainly help address the scaling problems that larger instances are starting to run into.

If you want to deploy on Unraid, you'd probably want to see if you can install docker-compose on there. Otherwise you'll have to rip the docker-compose.yml apart and spin up a pod at a time in your Unraid gui (and hope you can get buy without the Docker networks the compose deploy creates).

load more comments
view more: next ›