First post from my new, self-hosted, personal instance. Feels good!

53 points

Congratulation 🌞

Greetings from another personal instance 🐱

permalink
report
reply
10 points

And another. Consider https://github.com/fmstrat/lcs and LPP. 😉

permalink
report
parent
reply
6 points

🙏

permalink
report
parent
reply
30 points

Nice work dad. How difficult was it? I’ve been thinking about going down that road but concerned about the overhead.

permalink
report
reply
31 points

If you host the instance just for your own account to be under your control there’s hardly any overhead. I’m running it in docker in a debian 12 VM with 1 GB ram, 1 virtual CPU and 50GB virtual disk. Haven’t had any issues.

permalink
report
parent
reply
12 points

This is valuable info. Is there a Docker image that’s preconfigured for it or did you install on a LAMP image or other third way?

permalink
report
parent
reply
13 points
*

There’s a few Docker images, since it needs a database and some other services, and the best practice with Docker is one container per service. The documentation is here: https://join-lemmy.org/docs/administration/install_docker.html

I removed the Nginx server from the docker-compose.yml though. I already had an Nginx server running on the same server, so I just added the config to the existing server instead.

permalink
report
parent
reply
3 points

I went with docker but back then their documentation for it was trash and hardly worked. Had to trial and error it until it was functional. Hopefully they fixed that by now.

permalink
report
parent
reply
7 points
*

If you do end up going for it, Lemmy Easy Deploy is the tool I used and it’s awesome. I had no success with any other guide.

It was pretty easy with that tool. The overhead isn’t too bad but I recommend not going below 2GB of memory. I rode along on 1GB for a little while to see how things went, and it topped out quite a bit. I pay a little extra for automatic backups too which is worth the peace of mind. It’s about ~$18/month with Digital Ocean.

permalink
report
parent
reply

Damn. I paid racknerds $25/yr for 2cpu and 2.5gb of RAM. Runs great, and rather lean to be honest.

permalink
report
parent
reply
5 points

Wow, killer price! I need to check that out. I’ve had my Digital Ocean account for so long I’m on autopilot lmao.

permalink
report
parent
reply
6 points

I found this website to be pretty helpful in terms of walking you through a docker- based install:

https://www.bentasker.co.uk/posts/blog/general/running-a-lemmy-social-networking-instance-using-docker-compose.html

The official docs are a little sparse at times.

permalink
report
parent
reply
4 points

Well, I couldn’t figure out Docker because I’m a newb, so I decided to give the app in Yunohost a try. I was reluctant at first, because when I last checked the available version of Lemmy was kind of old and image uploads were broken. However, when I checked today, the version was 0.18.2 and the disclaimer about the broken feature was gone. So, I gave it a try and it just worked. I do still have to test image uploads.

We’ll see about overhead. I’ve got it running on a VM to which I’ve allocated 500GB. The VM is on an older i5 desktop with 16GB of RAM. I’ve already been running a Pixelfed instance for a couple of weeks and so far so good.

permalink
report
parent
reply
4 points

That should be plenty of power and storage. I’m running on a Digital Ocean droplet that has 2GB of memory, 25GB disk space, and an Intel vCPU (the “premium” option). Hums right along.

permalink
report
parent
reply
3 points

Excellent instance name

permalink
report
parent
reply
1 point

Oh good! That is reassuring.

permalink
report
parent
reply
2 points

Great to know, I’m on yunohost and considered creating my own instance. I guess I’ll get to that when I take the step from rented VPS to home-run server.

permalink
report
parent
reply
20 points

The secret ingredient was crime

permalink
report
reply
16 points

Was?

permalink
report
parent
reply
5 points

It usually is.

permalink
report
parent
reply
17 points

Welcome to the club! I used the same easy deploy setup as you! Makes life really easy eh :)

Furthermore, to populate All, I have this one running: https://github.com/lflare/lemmy-subscriber-bot

If you do this, you will need some extra space because the database will grow, but I think it solves one of the (largest) downsides of running your own instance, namely discovering other communities.

permalink
report
reply
8 points

Thank you; bookmarked.

permalink
report
parent
reply
5 points

When you decide to set it up, you need to create a user on your instance and fill in those details in the command line to run the thing. Also make sure to change the instance name to your name, otherwise it will not work.

Other useful commands:

docker rm --force lemmy-subscriber-bot To actually destroy the docker container if you want to start over

docker logs lemmy-subscriber-bot To see if the thing is running and doing things.

permalink
report
parent
reply
1 point

From the readme:

As of the writing of this tool, and size of the fediverse (Jul 2023), using this tool, may result in disk space usage of around 2GiB/day, according to my own metrics.

Seems kind of steep. I only have 500GB allocated to my server. I feel like there’s got to be a better way.

permalink
report
parent
reply
5 points

Do you know how much disk space this will roughly use? Are we talking 10GB or 100GB or 1TB? Just roughly speaking.

permalink
report
parent
reply
2 points

Mine went from 8 gb to 20-ish gb. So not that much ;)

permalink
report
parent
reply
1 point

The latest really improves things space wise and cleans up better. Single instance here for almost a month. About 50-60 subscription’s and am at 2gb db size

permalink
report
parent
reply
2 points

Thank you for the info. I set my instance up yesterday as well and my goal today was to do this.

permalink
report
parent
reply
1 point

Just so you know, this also creates more load on other instances, especially the larger ones.

permalink
report
parent
reply
1 point

Hmmm that is not really the small instances “fault”, but that is the idea of the Fediverse…

permalink
report
parent
reply
13 points

Nice! Just me on my instance too. The only downside I’ve found so far is that I have to discover new communities in my own since there is no one else to populate “All”.

Small price to pay to have control over my instance though.

permalink
report
reply
12 points

this is just a quick script I came up with, but it will show you newest communities and their descriptions. It refreshes daily. maybe it will be helpful for discovering niche communities : https://lemmyfind.quex.cc/

permalink
report
parent
reply
4 points

I’m really thinking about spinning up my own instant. I joined lemmy.one a while ago and it dark at the moment. After reddit I’m not digging the lack of control… Do you have any recommendations for running your own instant?

permalink
report
parent
reply
3 points
*

I host it on a VPS since I was hesitant about having something like this hosted at home. As far as spinning it up, it was relatively straightforward using the docker instructions (https://join-lemmy.org/docs/administration/install_docker.html).

I ran into some issues with the postfix container not being able to send emails, but it turned out I just needed to ask my VPS provider to unblock port 25 for SMTP.

permalink
report
parent
reply

I started mine at home but quickly came to the same decision as you and moved it out to a VPS.

I use Amazon SES for mail relay.

permalink
report
parent
reply
2 points

Thank you for the link. I may try hosting it at home just for kicks.

permalink
report
parent
reply
3 points

Yeah it was a bit annoying at first, but I just created a “all” user that just subbed to everything (well not everything, shout-out to all the communities that speak another language). I don’t recall exact links but if you just search for “all bot Lemmy” there are some stuff people have made which will just auto join basically all communities in an instance

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.9K

    Monthly active users

  • 3.5K

    Posts

  • 75K

    Comments