Files
second-brain/projects/homelab
kiskaadee 945b872d31
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 5s
feat(homelab): add smart deployment pipeline plan for appctl and update index
Introduce selective change-aware deployment strategy for homelab-core, automated bash completion updates, and unit testing suite plan.
2026-09-11 15:41:14 -05:00
..

type, status, tags
type status tags
project active
homelab
infrastructure

🌐 Homelab & Infrastructure Planning

This project documents the architectural roadmaps, infrastructure designs, deployment automation, and system administration workflows for the homelab ecosystem.


📑 Plans & Execution Roadmaps

🖥️ Server 24/7 & Infrastructure

  1. 🟢 NixOS Server & Laptop Migration [Completed]
    • Headless conversion of the server host and laptop workstation provisioning.
    • Declarative Flake management across hosts/server and hosts/laptop.
  2. 🟢 Domain Migration (roadtotech.me) [Completed]
    • Cutover from legacy arch-services.mywire.org to apex roadtotech.me.
    • Wildcard SSL via Traefik ACME and Authelia cookie updates.
  3. 🟢 Production Folder Structure Reorganization [Completed]
    • Established strict production boundaries: ~/Core, ~/Sites, ~/Brain, and ~/Config.
  4. 🟡 LVM Storage Optimization & Partition Resizing Strategy [Active]
    • Storage topology analysis, desktop indexer cache reclamation, and zero-data-loss LVM resize runbook.

📦 Orchestration (appctl)

  1. 🟢 Core & Sites Cutover and Testing Plan [Completed]
    • Zero-downtime, progressive cutover runbook from ~/Deployments to decoupled ~/Core and ~/Sites.
  2. 🟢 appctl Refactor & Decentralized app.yaml Metadata Architecture [Completed]
    • Decentralized service manifests, canonical aliasing, and Homepage services.yaml compilation.
  3. 🟢 appctl Git Synchronization & Full-Stack Lifecycle Strategy [Completed]
    • Real-time Git tracking status (✓ Synced, ⬆ Ahead, ⬇ Behind, * Dirty), --fetch, and atomic appctl update.
  4. 🟡 Smart Selective Deployment Pipeline for Homelab Core [Active]
    • Change-aware Gitea GitOps & CLI deployment, selective container restarts, and bash autocompletion sync.

🍵 Gitea & GitOps

  1. 🟢 CI/CD & Deployment Strategy [Completed]
    • Design of automated deployment pipelines, self-hosted Gitea runner, and dynamic webhook dispatching.
  2. 🟢 Real-Time Brain Synchronization & Gitea Push Mirroring [Completed]
    • Pilot pipeline: zero-delay hooks, Gitea Actions CI, and instant reflection on docs.roadtotech.me.
  3. 🟡 GitHub to Gitea Automated Batch Migration Plan [Active]
    • Batch migration automation (~35 repos) via gh and tea API, visibility retention, and recovery runbook.

📑 Canonical Guides & Production References

  1. Homelab Architecture: Appctl & Decentralized Repositories
    • The authoritative reference for appctl, app.yaml manifests, and multi-repo orchestration.
  2. Dynamic Decentralized GitOps Dispatcher Architecture
    • Zero-Core-restart webhook architecture on port 9000, dynamic discovery, and deployment primitives.
  3. Brain GitOps & Auto-Sync Deployment Pipeline
    • End-to-end knowledge graph pipeline: local pre-commit gate, post-commit push, Gitea Actions CI, and live doc2site rendering.
  4. Dynu DDNS Domain Configuration Troubleshooting Runbook
    • Root cause analysis and resolution for WAN IP rotations, SOPS key authorization, and ddclient updates.
  5. Custom API Security Hardening & Threat Analysis
    • Attack surface review, Authelia ForwardAuth integration, rate limiting, and JWT fail-fast validation.
  6. WhatsApp & Telegram AI Assistant Backend Architecture
    • Architecture, channel trade-offs (Telegram vs WhatsApp), APScheduler cron triggers, and Brain vault RAG integration.

🏛️ Architectural Discussions & Records