this post was submitted on 29 Jul 2023
520 points (95.8% liked)

Selfhosted

40006 readers
979 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:

  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!

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 year ago (5 children)

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.

[–] [email protected] 12 points 1 year ago (4 children)

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?

[–] [email protected] 13 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] [email protected] 6 points 1 year ago (1 children)

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

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

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.

load more comments (1 replies)
load more comments (1 replies)