Homeserving to the world, a guide to securely hosting to your friends and family.

Hi, I’ve written a somewhat extensive guide on how to reproduce my setup for self-hosting for family and friends.
My objective here has been building a secure infrastructure while solving the problem of not asking much from your users.

I’m currently done writing and done most of the tests but haven’t done one final top-to-bottom test still, this process is based on what I’ve come up with and it has gone through many iterations, a final test is what I intend on doing this Saturday (2026/10/17) live, alongside answering questions and helping people out during each chapter.

I think the only warning is I’m no professional writer, bare with me.

You can find the guide here: Self-hosting publicly

The git repository in question with all my config is here: MK-podman-composes

If anyone follows this and has any questions, I’m happy to answer them.

2 Likes

Honestly not a bad write up. I don’t agree with the systemd take… but that’s a matter of taste/opinion and there are already enough posts/threads/rants about that.

From an ease of use standpoint. I would recommend giving caddy a look as a reverse proxy as well. Config file is much simpler and handles letsencrypt with no input form the user.

Also finding a cheap VPS is becoming more and more difficult these days. If recommendations are needed I can currently recommend checking out netcup. They still have some competitively priced options in quite a few markets.

1 Like

would recommend giving caddy a look

That’s true about caddy! not only does it do the same but it also save on some RAM, considering I’m aiming for end-user easy of use and general low resource uses it would fit in nicely! I don’t know why it didn’t cross my mind before when considering what I should move around to get lower RAM usage.
I’ll leave it like this for now, maybe once I’m done with my current guide write an updated version using Caddy instead, it shouldn’t be a lot of effort, thanks for recommendation!

If recommendations are needed I can currently recommend checking out netcup.

Recommendations for VPSs are welcomed, thanks!
I will also add for anyone looking at VPSs wanting to reproduce my setup, I’m using 400Mbs of RAM and 4.2GB of storage(debian installation is most of it). so consider anything with at least 1GB of RAM, should be mostly anything, the lowest packages seem to be standardized to 4GBs of RAM and 64 of storage around VPS providers.

2 Likes

After some deliberation I will not be streaming tomorrow, I’ll leave the tutorial up for whoever doesn’t really care about saving another 100Mbs of RAM, but my goal has always been getting a comfortable setup for people with 2 and 4Gbs and I think saving a bit more is the breathing rooms someone out there may need.
I will be updating my setup to use caddy instead of traefik.

Turns out caddy doesn’t to TCP, but there is a surprisingly recent project call caddy-l4 that adds TCP and UDP support for caddy, I’ve done some tests and it does both work well while still saving around 80MBs of memory.

I’ve left all the setup commented on a git branch and we’ll leave as an work-in-progress alternative if anyone wants to squeeze the maximum out of your RAM.

I’ve decided to run my whole setup start to finish today, I’ll be live at 5PM UTC(around 3 hours from when this is posted) at live.mosskoi(dot)com if anyone is interested. It should be a smooth ride until some open-rc stuff I haven’t tested much but that is also the least important.

Here is the doc for the module as well: modules/layer4 — Caddy Documentation

1 Like

Hi @mosskoi , Thanks for the writeup. I used this and @wendell buddy backup as basis for setting up a new set of NAS boxes with aspirations of becoming the family and friends, private cloud. So far only two boxes, based on proxmox with ZFS RAIDZ2 and a hosted VM on top of which I’m running services for films, music, ebooks, backups etc. The systems connect via Wireguard.

Now to my question, wants:
I am missing a unified login page. I made a jump page with status and links to all the apps, but password management is a nightmare, so like everyone else doing this, I now also understand there needs to be an auth layer to harmonize this all.
I want to leverage all the great opensource projects of course, but they are a very “linuxy” hodgepodge of styles, halfpolished systems and overlaping features.

Basically I think I need to go back to the drawing board on the entire setup

What I want is:
Single login for all the user stuff. I am fine with a technical layer underneath for proxmox and Tailscale (with wireguard replacement planned and in progress) and for running independant apps like Homeassistant or whatever else people want to run (maybe already a conflicting requirement :slight_smile: )
A dedicated file sharing management for each installation to self manage with local users, and easy sharing of specific directories with the PCs/Macs and linux systems of the local household
A foolproof buddy backup system that can scale, deal with odd numbers of users in the network and encrypts data so everyone has their own private setup. Fix quotas for each install for now.
Pictures library system (immich) which needs to be local, and part of the buddybackup. It must allow for dedicated albums to be shared among the network, or with the wider public for those installations with an externally accessible URL.
Films library, with two segments, one for shared and one for local films. Shared copy allows for streaming across the family network.
Music library, all shared and with streaming feature. Music library should have logic to ensure each song get’s copies to at least one other location on the network,
GUI for buddybackup management, especially for recovery.

Is there already some opensource project that goes down this kind of route which I could potentially fork and Adapt? any good recommendations on what to use for the various services / features? I have webmin installed for samba management now, and it’s really not a good fit. Jellyfin, Navidrome for films and music and custom music copy logic, but also not happy with the setup.

I’m happy to make compromises with there is something easy to maintain which already combines a lot of this. but if I am left to stitch together services like I am now, then I feel I’ll need to make this into a bigger development project, which I really don’t have time for :slight_smile:

FYI link doesn’t work for me

>Error Code: SSL_ERROR_INTERNAL_ERROR_ALERT

I used this and @wendell buddy backup as basis for setting up a new set of NAS boxes with aspirations of becoming the family and friends

Awesome to hear!

Single login for all the user stuff.

I think what you’re looking for is SSO, it’s highly dependent on which service you’re hosting as some might not have support for it.
While I have not done this one that seems to go well with my documented setup is Authelia, it sits in front of all services and when you log in on it it can use OpenID Connect to automatically log you in all services supporting SSO. But then again I’m not sure which services do or don’t support it, I will investigate more because I really like this unified login idea!

A foolproof buddy backup system that can scale

I will read on wendell’s buddy backup system and get back to you on this, I’m currently unaware about it.

FYI link doesn’t work for me

@havocx sorry! I recently moved from traefik to caddy-l4 and forgot to bring my docmost up!
Link is working now.
Git server might be slow tho, sorry about that, I’ve been getting scrapped by AI bots non-stop recently, weirdly enough Zuckberg’s Meta of all companies, for now that container has a very limited bandwidth so bare with me.
If the page is not loading it’s likely because it’s getting scrapped in real time, you can always just git clone the link like so:
git clone https://git.mosskoi.com/mosskoi/podman-containers-MK to get all you’ll need.

I had to recently implement this on a wiki host I setup for a client. They were getting bombarded by scrapers to the point where no one could connect to the site. I can recommend giving it a look/try

1 Like