I am not sure how to self-host docker compose environments. Maybe somebody can help out.
I’m a software dev and not afraid of some sysadmin work.
Options I see:
- I see a docker-compose community app that lets you start setting things up, but haven’t investigated very much.
- Spin up a linux vm, pretend its not unraid and follow instructions. This is heavier-weight so I want to investigate the docker approach at least some.
- Individual dockers, sorta extracting each item in the docker-compose file and running them one-by-one.
I already have nginx proxy manager setup with other services, so that should be fine to expose things to the wider internet when I get that far.
Hows the CPU+memory+network load running an instance your size?
I write about that here: https://reddthat.com/comment/66766 and allude to our problems in the future funding post here: https://reddthat.com/post/25633
But it’s only a 2 core, 4gb ram, and I think a 100mbit line, though I have yet to test the network throughput to its maximum.
We average about checks 15-25% CPU usage at the moment over the past 24 hours.
We are using Cloudflare Infront of our server to help with spikes, but honestly it doesn’t do much except for serving the images.
This is due to the fact that lemmyui interacts via websockets and all federation are pretty much POSTs.
Lemmy itself is very CPU and memory efficient. The biggest problems all other instances are having are database related and the inefficient nature that some of the queries are.
In the long run, I would like to get a dedicated colo instance for the database server, which would give us enough growing room for up to 10k+ users even with the current database inefficiencies, but until we get about $200-250 per month in recurring monthly donations there will no way we can get to that.
@[email protected]