The documentation should answer most of your questions.
General Programming Discussion
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
Does it affect if I run lemmy inside a tailscale machine with all inbound ports closed?
It needs to receive incoming http/websocket requests.
I installed mine using the instructions here. I did run in to an issue with docker-compose, for which I submitted this pull request (assuming that PR is not merged by the time you clone the repo).
They recommend the Ansible setup found here: https://github.com/LemmyNet/lemmy-ansible
Their main docs site does have instructions for running via docker(-compose), but they seem to be pretty broken right now.
I'm running Lemmy and Authentik (authentication broker for my Mastodon instance) on one of the $14/month AMD premium droplets and it's working fine. (1vCPU 2Gb RAM). Though I'm the only user currently and my instance has only been up for about an hour lol.
So I want to create Lemmy server but I don't want to spend more than $20 a month.
How, exactly, did you end up with the droplet size you went with? In addition, are there any "gotchas" you encountered setting this up?
I launched mine using the lemmy-ansible repo: https://github.com/LemmyNet/lemmy-ansible It's quite straight forward to follow and works out of the box without much effort required, good luck!
Hi! First comment on Lemmy (or any social media.) I run bubblesthebunny.com off this repo: https://github.com/BubblesTheBunny/lemmy
It requires Digital Ocean and Cloudflare, but it works pretty well. I use a pretty small VM though, so if you're looking for something that can handle 1000s of users you'll need to modify it slightly.
I yoinked a ton from the https://github.com/LemmyNet/lemmy-ansible repo, so if you want to roll your own that's a good place to start.
Officially https://join-lemmy.org/docs/administration/install_docker.html
There is also this https://github.com/ubergeek77/Lemmy-Easy-Deploy/tree/main
I rolled my own docker-compose.yml because I host other services using Caddy as well
There's official documentation for how to get up and running quickly using Docker here: https://join-lemmy.org/docs/en/administration/install_docker.html
I used that as a reference for my own server's setup (which is heavily modified appropriately for my own environment).
Does anybody know the hardware requirements? A RaspberryPi, some small VPS with 1 cpu and 1gb ram, or 4 core vps with 16 gb ram? Is the traffic cache-able by cloudflare?
In my other comment I mentioned some specs... not sure what it's like on the larger instances, but probably not too bad.
Not sure if it can be cached by Cloudflare... probably depends on what you want to cache.
Not sure if it can be cached by Cloudflare
Every time I've turned on caching on my instance, it goes into a redirect loop and doesn't connect. I've tried searching everywhere to see if it's just something I've done wrong (which is how I found this comment) but can't find any tutorials or anything on caching with cloudflare on lemmy. I'm guessing it's just not possible.