Skip to content
Proyek

Tentang

A declarative, self-hosted DevSecOps platform built on IncusOS and Docker Swarm.

Sistem dan infrastruktur

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli
HX Lab logo

Homelab

The Self-Hosted DevSecOps Platform

CI Security Release


Architecture

Homelab architecture

Infrastructure

The homelab runs on a Minisforum A2 powered by IncusOS.

OpenTofu provisions infrastructure, while Ansible configures the backup container. Network infrastructure is managed separately in Netlab.

Cloudflare provides public edge services, ntfy delivers alerts, and Hetzner Storage Box stores off-site backups.

Platform

Three Fedora CoreOS virtual machines form a Docker Swarm cluster. The platform hosts self-hosted applications, shared data services, identity management, and observability. Services are defined declaratively as Swarm stacks.

All three VMs run on one physical host. The cluster does not provide host-level high availability.

Storage

OpenZFS provides persistent storage, shared with Swarm nodes through VirtioFS. Persistent application data lives outside the VMs and survives their recreation, provided the host datasets remain intact.

Incus manages local volume snapshots. borgmatic backs up Immich, OpenClaw, Paperless, PostgreSQL, and Vaultwarden data to Hetzner Storage Box using Borg over SSH. These off-site backups do not cover every persistent directory.

Security

Security takes priority over convenience. The approach favors minimal exposure and simple, explicit controls.

Traefik routes application traffic, with public access through Cloudflare. WireGuard provides remote access to internal services and management interfaces. Authentik provides application single sign-on; applications and infrastructure retain their own permission controls.

Secrets are declared through SecretSpec, stored encrypted with SOPS, and delivered to services as Docker secrets.

The development workflow follows a SecOps approach. CI checks workflows, infrastructure code, secrets, and container images for security issues.

Development

Git stores the desired state, and deployments are triggered manually. Infrastructure and services are provisioned through code and Task workflows. Rebuilding still requires bootstrap access, secrets, infrastructure state, and intact data or usable backups.

Operations

Operational workflows use Task to orchestrate Bash and Python workers from the command line.

Run task to see available operations.

Documentation

Documentation is intentionally minimal. Configuration and executable workflows are the primary reference, with project rules in AGENTS.md.

Open an issue for questions or discussion.

License

Licensed under the MIT License.

Jelajahi proyek terkait

Memuat…