view the rest of the comments
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Nice work dad. How difficult was it? I’ve been thinking about going down that road but concerned about the overhead.
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.
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?
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.
I also installed my private server and setting everything up was quite easy :) I left nginx as is and just put everything behind my Caddy as reverse proxy
I've been meaning to try Caddy and Traefik. I've been using Nginx for so long and don't really have a reason to switch though.
For Lemmy, I didn't see a major advantage of running a reverse proxy behind another reverse proxy which is why I'm not running Lemmy's Nginx container.
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.