Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 7s
3.2 KiB
3.2 KiB
type, project, date, tags
| type | project | date | tags | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| journal | homelab | 2026-09-23 |
|
Daily Journal: 2026-09-23
Wins
Dozzle Forward-Proxy Authentication & Persistent Volume
- Configured native ForwardAuth header ingestion in Dozzle (
DOZZLE_AUTH_PROVIDER=forward-proxy) to consume Authelia identity headers (Remote-User,Remote-Email,Remote-Name). - Wired SSO logout redirection to
auth.roadtotech.me/logoutand attached a persistent named volume (dozzle_data) to retain UI layout and preference state across container lifecycles.
Architectural Classification & Portainer Deprecation
- Evaluated platform ownership boundaries ("What qualifies a service for Core ownership?"):
- Confirmed that Gitea and the Gitea CI runner should remain decoupled from Core in
Sites/gitea, preserving independent recovery and avoiding granting arbitrary CI runner workloads platform-level privileges. - Formulated and executed the clean deprecation of Portainer across all infrastructure layers.
- Confirmed that Gitea and the Gitea CI runner should remain decoupled from Core in
- Removed Portainer from
docker-compose.yml, eliminatedPORTAINER_ADMIN_PASSWORDfromhomeserver.nix, and pruned the ciphertext fromsecrets.yamlvia SOPS. - Removed Portainer from
appctlcore service inventory and Homepage service mapping. - Added automated regression invariant test
test_portainer_is_deprecated_and_absenttotests/security/test_security_invariants.py. - Synchronized all Core documentation (
README.md,SECURITY.md,architecture.md,operations.md,secrets-and-state.md,appctl.md). - Validated complete local test suite with 100% passing tests and clean Nix flake evaluation.
Architecture & Discussions
- Core Service Qualification & Portainer Deprecation
- Detailed inquiry into the role of inherited tools versus deliberate platform primitives.
- Analysis of Portainer's fundamental mismatch with hardened read-only Docker socket proxies (
socket-proxywithPOST=0,DELETE=0). - Separation of platform services from developer infrastructure and unprivileged CI runners.
- Plan: Clean Deprecation of Portainer from Core
- Phased deprecation, local validation, commit strategy, and production teardown runbook.
Mistakes and Lessons Learned
Inherited Tools vs. Platform Status
An inherited component does not acquire platform status merely because it was placed in the platform stack. If a service does not own a unique, indispensable responsibility in the operational model—or if its fundamental design (GUI container mutation) conflicts with declarative GitOps invariants and read-only socket proxies—it should be pruned cleanly rather than maintained out of inertia.
Privilege Boundaries in Developer Tooling
Even when source-control infrastructure (like Gitea) provides cross-cutting value to a homelab, associated execution engines (like CI runners) represent entirely different threat surfaces. The runner executes arbitrary repository code and requires container execution privileges; bundling it into Core by default violates least-privilege platform isolation.