mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-08-26 17:31:37 +00:00
Vendors the three deployment profile YAMLs (home, minimal_pi, regional_pi) into navi-backend's own repo at config/profiles/. Copied verbatim from /opt/recon/config/profiles/ post-PR-A, so home.yaml carries the auth block and the two Pi profiles carry the TODO(matt) logout-host note. Architectural reason: services in this monorepo should depend on each other only through their HTTP APIs, never each other's filesystem. navi-config currently defaults to reading /opt/recon/config/profiles/ — a cross-service filesystem coupling. With the profiles vendored here, navi-config will be pointed at this repo's copy via NAVI_CONFIG_PROFILES_DIR in /etc/navi-backend/navi-config.env at deploy time, so it no longer reaches into recon's tree. recon keeps its own /opt/recon/config/profiles/ for its internal use; the two copies are independent for now. Reconciling them — ideally by having recon HTTP-fetch /api/config from navi-config rather than re-parsing YAML — is a tracked follow-up, out of scope for extraction #2. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| home.yaml | ||
| minimal_pi.yaml | ||
| regional_pi.yaml | ||