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.

@MangoPenguin@lemmy.blahaj.zone
link
fedilink
English
2
edit-2
1Y

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.

Self Hosted - Self-hosting your services.
!selfhost@lemmy.ml
Create a post

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

  • No harassment
  • crossposts from c/Open Source & c/docker & related may be allowed, depending on context
  • Video Promoting is allowed if is within the topic.
  • No spamming.
  • Stay friendly.
  • Follow the lemmy.ml instance rules.
  • Tag your post. (Read under)

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!

  • Lemmy doesn’t have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.

Cross-posting

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

  • 1 user online
  • 10 users / day
  • 30 users / week
  • 66 users / month
  • 257 users / 6 months
  • 1 subscriber
  • 349 Posts
  • 1.85K Comments
  • Modlog