this post was submitted on 16 Feb 2025
50 points (94.6% liked)

Selfhosted

42718 readers
867 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 2 years ago
MODERATORS
 

I'm running three servers: one for home automation/NVR, one for NAS/media services, and one for network/firewall services.

Does this breakdown look doable based on the hardware? Should the services be ditributed differently for better efficiency?

Server 1 and 3 are already up and running. I just received my NAS, and am trying to decide where to run each service to best take advantage of my hardware.

I'm also considering UnRaid instead of Proxmox for a NAS OS. I just chose Proxmox because I'm familiar with it, and I like the ability to snapshot. I also intend to run Proxmox Backup Server offsite at some point, and I like the PVE/PBS integration.

Any advice would be much appreciated!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 6 days ago (2 children)

I personally would avoid LXC. That seems to be a hot take but in my experience it is better to run docker/podman in a few VMs.

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

...really? I run most of my services in an LXC, and have for a while without issue.

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

Maybe I'm doing it wrong then. I run LXC but has always been a much worse experience. Boot times are terrible and the controls that work for VMs don't work as well for LXC. You also can live transfer which is problematic for me.

[–] [email protected] 1 points 4 days ago

I think you're doing it wrong. LXCs boot almost instantaneously on a hypervisor since they hijack the host kernel, I'd be surprised if my CTs take 5 seconds.

I would agree on the live migration issue but I guess you pick your services accordingly. I have a VM that runs docker and a LXC docker host, and I pick my containers for each accordingly.

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

Not everything plays nice in Docker, and there are plenty of those services that also don't need a full VM to operate. LXC is great for those edge cases. Otherwise I agree, a few VMs for various Docker stacks is the way to go.

[–] [email protected] 1 points 5 days ago (1 children)

All the services OP has listed run great in docker, excluding Frigate (not tested personally).

[–] [email protected] 1 points 5 days ago

True, I noticed that as well. Still, it's worth moving bare-metal docker installations to VMs. Easier to manage IMO.