this post was submitted on 12 Jun 2023
1 points (100.0% liked)

Self Hosted - Self-hosting your services.

11419 readers
1 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I'm interested in hosting a small lemmy instance from my home and I already use proxmox for several services so figured I'd start there.

I got a quick test lemmy instance running on an ubuntu VM but decided I wanted to try running it in an LXC container since PVE has a great setup for those. So I tried again with an ubuntu LXC container and got that going pretty quick too. I'm wondering if running a docker container from inside an LXC container is a good idea or not. I like the idea because it seems very portable and lightweight, but I also wonder if I'm creating more overhead by doing the Russian doll thing with containers.

I'm also wondering about DNS and security. The only thing I run locally that's accessible from the web is home assistant and I use Nabu Casa's service for that so it was pretty idiot proof. Does anyone have any general recommendations\dos\donts for running an instance from home? I'm planning to use cloudflare for DNS but I'm kind of new to this part so looking for advice.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Docker inside LXC can be a pain, it's much easier to run it in a VM, and you usually get better performance anyways.

A Debian VM uses like 25MB of RAM for itself, so there's very minimal overhead. Plus VMs are more portable if that is something you need.

Since you're going to use cloudflare for DNS, you can just flip the switch on your subdomain and pass everything through cloudflare which will hide your real IP, and provide some protection against bots.

load more comments
view more: next ›