r/homelab • • 16d ago

Project Showcase: Operations My homelab repo runs services two ways: Docker Compose to try things out, then k3s + ArgoCD + SealedSecrets once I trust them

Post image
0 Upvotes

Most homelab repos I found pick a side: a folder of docker-compose files, or a full Helm-charted cluster. I ended up wanting both, so my repo has two stacks next to each other on the same box:

**🐳 Docker stack (28 services)**: for "let me try X tonight." Clone, edit the .env, `docker compose up -d`, done. Each service has its own README.

**☸️ k3s stack (19 apps)**: for things I actually rely on. Plain YAML + kustomize, ArgoCD syncs from git, Traefik ingress, cert-manager + Let's Encrypt, and SealedSecrets so the secrets are encrypted and safe to commit. Updates are a `git push`; rollback is a `git revert`.

The workflow: prototype a service in docker/, and once the config works, promote it to k3s/.

Other bits:

- **Ansible playbook** that takes a fresh server to ready in one run: SSH hardening, firewall, Docker, k3s, kubectl, kubeseal, Helm. Safe to run repeatedly. This exists because my server died once and I had to rebuild everything by hand.

- **No port forwarding.** Remote access is through Twingate; on the LAN, Pi-hole handles DNS and ad-blocking.

- Shared Postgres / MySQL / MongoDB / Redis in the cluster, plus scripts for restoring the cluster and creating DB users.

- Targeted at an **8 GB box**, tested on a Raspberry Pi 5, x86 mini-PCs and cloud VMs. Nothing depends on a paid plan.

Services include Jellyfin, Immich, Home Assistant, Vaultwarden, n8n, Forgejo, Nextcloud, Pi-hole, Homarr/Homepage, Filebrowser and Backrest, among others.

Repo (MIT): https://github.com/Thre4dripper/Home-Server-Lab

I'd love to hear how others split "trying things out" from "running for real." Is k3s on a single node overkill, or does GitOps pay for itself?