{"id":50379847,"url":"https://github.com/psimaker/homelab","last_synced_at":"2026-05-30T11:03:25.567Z","repository":{"id":313261726,"uuid":"1047034437","full_name":"psimaker/homelab","owner":"psimaker","description":"Self-hosted home infra: a 53-container Docker dataplane (hosts loogi.ch) + a k3s/GitOps platform I'm building as a CKA learning lab.","archived":false,"fork":false,"pushed_at":"2026-05-29T08:35:57.000Z","size":548,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-29T10:19:26.889Z","etag":null,"topics":["ansible","devops","docker","flux","gitops","homelab","kubernetes","searxng","self-hosted","terraform"],"latest_commit_sha":null,"homepage":"https://loogi.ch","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psimaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-29T16:22:33.000Z","updated_at":"2026-05-29T08:36:39.000Z","dependencies_parsed_at":"2025-09-04T22:30:56.905Z","dependency_job_id":"534d321d-d40d-4ba2-8a86-2731cb6cf7dc","html_url":"https://github.com/psimaker/homelab","commit_stats":null,"previous_names":["psimaker/homelab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/psimaker/homelab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psimaker%2Fhomelab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psimaker%2Fhomelab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psimaker%2Fhomelab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psimaker%2Fhomelab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psimaker","download_url":"https://codeload.github.com/psimaker/homelab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psimaker%2Fhomelab/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33689565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","devops","docker","flux","gitops","homelab","kubernetes","searxng","self-hosted","terraform"],"created_at":"2026-05-30T11:03:24.576Z","updated_at":"2026-05-30T11:03:25.562Z","avatar_url":"https://github.com/psimaker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# homelab\n\nFive years of self-hosted, pre-AI Docker operations on bare metal — **53 containers\nacross 18 Compose stacks**, including one service live for real users: the search\nengine [**loogi.ch**](https://loogi.ch). That is **Tier-2**, my production dataplane.\n\n**Tier-1** is a k3s / GitOps platform I'm designing and learning as I prepare for the\nCKA. The manifests, OpenTofu and 13 ADRs in this repo are real and written — designed\nto learn from, not yet deployed to production. Throughout the README, what is\n*running* and what is *designed* are labelled apart.\n\n[![Tier-2](https://img.shields.io/badge/Tier--2-in_production-2EA043?logo=docker\u0026logoColor=white)](compose/)\n[![loogi.ch](https://img.shields.io/badge/loogi.ch-live-2EA043?logo=searxng\u0026logoColor=white)](https://loogi.ch)\n[![Tier-1](https://img.shields.io/badge/Tier--1-learning_lab%20%2B%20roadmap-FFC61C?logo=kubernetes\u0026logoColor=white)](docs/architecture.md)\n[![CKA](https://img.shields.io/badge/CKA-in_prep-blue)](docs/adr/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n\n\u003e *I automate things so I can spend more time breaking other things.*\n\n## What runs today — Tier-2 (Docker, production)\n\nA bare-metal Debian host (`airbase`) with five years of hands-on operations — self-taught\nand started well before the AI era, so the core understanding is mine, not a model's.\n\n- **[loogi.ch](https://loogi.ch)** — a public, privacy-first SearXNG search engine\n  with a custom theme, served for real users.\n- **53 containers across 18 Compose stacks**: Nextcloud-AIO, Immich, Plex + *arr,\n  Paperless, Vaultwarden, n8n, Vikunja, Syncthing, ntfy, Gitea …\n- **Self-hosted CI/CD** — Gitea Actions with my own runner on `airbase`: build and\n  deploy pipelines on my own hardware, with this public repo as a one-way GitHub\n  mirror. End-to-end ownership of the delivery path, not a managed SaaS runner.\n- **Nginx Proxy Manager** — reverse proxy and TLS (Let's Encrypt) for the dataplane.\n- **Watchtower** — automated container image updates.\n- **WireGuard / gluetun**, a segmented home network.\n\nCompose files live in [`compose/`](compose/) as 1:1 snapshots of what runs. This tier\nowns terabytes of real state and has survived Docker upgrades, kernel upgrades and a\ndisk migration. Keeping it on Docker rather than Kubernetes is a deliberate call,\nreasoned out in [ADR-0001](docs/adr/0001-tier1-tier2-split.md).\n\n## What I'm building — Tier-1 (k3s platform, learning lab + roadmap)\n\nThe target stack I've chosen and am working through as part of my CKA preparation —\neach tool picked deliberately and documented as one of **13 ADRs** in\n[`docs/adr/`](docs/adr/). I have the basics hands-on (kubectl, writing manifests);\nthe advanced pieces are exactly what the lab is for.\n\nI spin up a single-node k3s lab on a Raspberry Pi to practise for the CKA and to try\nthe manifests in this repo — a learning cluster, not a 24/7 deployment. The two-site\nHetzner-edge mesh in the diagram below is the design target, not a running cluster.\n\n**Target stack** (chosen and documented, not yet operated in production): k3s 1.31 +\nCilium, Flux v2 for GitOps, OpenTofu on Hetzner, Headscale mesh, Pocket-ID (OIDC),\nLonghorn, kube-prometheus-stack + Loki + Tempo, restic 3-2-1, Traefik + cert-manager.\nThe manifests and Terraform are committed and thought through; I'm validating them\npiece by piece in the lab, not running them under load.\n\n**Goal:** once the platform is solid and I'm CKA-certified, move selected *new*\nworkloads onto it — never the stateful Tier-2 giants without a concrete reason that\npays for the migration.\n\n## Architecture — today vs. roadmap\n\n```mermaid\nflowchart LR\n  user[End user] --\u003e npm\n\n  subgraph Today[\"Running today — Tier-2 (Docker)\"]\n    npm[\"Nginx Proxy Manager\u003cbr/\u003e+ Let's Encrypt\"] --- docker[(\"53 Compose containers\u003cbr/\u003eloogi.ch, Nextcloud, Immich, …\")]\n  end\n\n  subgraph Roadmap[\"Roadmap — Tier-1 (k3s, in build)\"]\n    direction TB\n    edge[\"edge — Hetzner\u003cbr/\u003ek3s server (planned)\"]\n    agent[\"airbase — k3s worker\u003cbr/\u003e(planned)\"]\n    edge -. Tailscale mesh / Headscale\u003cbr/\u003e(planned) .-\u003e agent\n  end\n\n  Today -.-\u003e|migrate new workloads once solid| Roadmap\n\n  classDef plan stroke-dasharray:5 5;\n  class edge,agent plan;\n```\n\n## Tour\n\nMost of this repo is design and code I've written and reasoned about. What is\n*running* is the `compose/` tier; the `kubernetes/` and `terraform/` trees are the\nlab and the roadmap.\n\n| You'd like to see... | Look at... | State |\n| --- | --- | --- |\n| The Tier-1 / Tier-2 split decision | [`docs/adr/0001-tier1-tier2-split.md`](docs/adr/0001-tier1-tier2-split.md) | design |\n| All 13 decisions and *why* | [`docs/adr/`](docs/adr/) | design |\n| The full design | [`docs/architecture.md`](docs/architecture.md) | design |\n| Cloud infrastructure as code | [`terraform/live/prod/`](terraform/live/prod/) | written, lab |\n| How nodes are configured | [`ansible/roles/`](ansible/roles/) | written, lab |\n| The Tier-1 platform manifests | [`kubernetes/infrastructure/`](kubernetes/infrastructure/) | written, lab |\n| The Tier-2 stacks that actually run | [`compose/`](compose/) | **live** |\n| Self-hosted CI | [`.gitea/workflows/`](.gitea/workflows/) | **live** |\n\n## Stack — running today (Tier-2)\n\n| Layer | Tool |\n| --- | --- |\n| Host | Debian, bare metal (`airbase`) |\n| Orchestration | Docker Compose |\n| Reverse proxy / TLS | Nginx Proxy Manager + Let's Encrypt |\n| CI/CD | Gitea Actions, self-hosted runner on `airbase` |\n| Updates | Watchtower (automated image updates) |\n| Networking | WireGuard / gluetun, segmented LAN |\n\nThe Tier-1 target stack (k3s, Cilium, Flux, OpenTofu, …) is listed in\n\"What I'm building\" above and detailed in [`docs/architecture.md`](docs/architecture.md) —\nkept out of this table on purpose, because that table is what runs.\n\n## Repo layout\n\n```\nhomelab/\n├── docs/                  Architecture, ADRs, runbooks  (design + reasoning)\n├── terraform/             OpenTofu — Hetzner, Cloudflare, Backblaze  (written, lab)\n├── ansible/               Roles + playbooks  (written, lab)\n├── kubernetes/\n│   ├── flux-system/       Flux components  (lab)\n│   ├── infrastructure/    Controllers, storage, observability, identity  (lab)\n│   └── apps/              Tier-1 workload manifests  (lab)\n├── compose/               Tier-2 Docker Compose stacks — what actually runs\n├── scripts/               bootstrap, sops helpers\n├── .gitea/workflows/      CI on my self-hosted Gitea  (live)\n└── .github/workflows/     no-op stubs (mirror only — Gitea is the source)\n```\n\n## Live links\n\n- Production search engine: [loogi.ch](https://loogi.ch) — runs on Tier-2\n- LOOGI source: [github.com/psimaker/loogi](https://github.com/psimaker/loogi)\n- Canonical code: self-hosted Gitea *(private)* · this is the public mirror\n\n## About\n\nI'm a career-changer moving into DevOps / Platform Engineering, based in central\nSwitzerland and looking for a junior role (on-site or hybrid). Five years of\nhands-on self-hosting, a merged Nextcloud Server contribution (PR #59317, backported\nto two stable releases), and the CKA in preparation. If this repo caught your eye,\nreach me via my [GitHub profile](https://github.com/psimaker).\n\n## License\n\n[MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsimaker%2Fhomelab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsimaker%2Fhomelab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsimaker%2Fhomelab/lists"}