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>
51 lines
1.2 KiB
YAML
51 lines
1.2 KiB
YAML
# Deployment profile: Minimal Pi (single-state pocket deployment)
|
|
# Template for the lightest possible field kit — Idaho only.
|
|
# Override via RECON_PROFILE env var.
|
|
|
|
profile: minimal_pi
|
|
region_name: "Idaho"
|
|
|
|
tileset:
|
|
url: "/tiles/idaho.pmtiles"
|
|
bounds: [-117.5, 42.0, -111.0, 49.0]
|
|
max_zoom: 15
|
|
attribution: "Protomaps © OSM"
|
|
|
|
tileset_hillshade:
|
|
url: "/tiles/hillshade-idaho.pmtiles"
|
|
encoding: "terrarium"
|
|
max_zoom: 12
|
|
|
|
traffic:
|
|
provider: "tomtom"
|
|
proxy_url: "/api/traffic/flow/{z}/{x}/{y}.png"
|
|
|
|
services:
|
|
geocode: "/api/geocode"
|
|
reverse: "/api/reverse"
|
|
address_book: "/api/address_book"
|
|
valhalla: "/valhalla"
|
|
|
|
# TODO(matt): confirm logout next= host for this profile
|
|
auth:
|
|
login_url: "/outpost.goauthentik.io/start?rd=%2F"
|
|
logout_url: "https://auth.echo6.co/if/flow/default-invalidation-flow/?next=https://navi.echo6.co/"
|
|
|
|
features:
|
|
has_nominatim_details: false
|
|
has_kiwix_wiki: false
|
|
has_hillshade: false
|
|
has_3d_terrain: false
|
|
has_traffic_overlay: false
|
|
has_landclass: false
|
|
has_public_lands_layer: false
|
|
has_address_book_write: true
|
|
has_overture_enrichment: false
|
|
has_google_places_enrichment: false
|
|
has_contacts: false
|
|
has_wiki_rewriting: false
|
|
has_wiki_discovery: false
|
|
|
|
defaults:
|
|
center: [44.0, -114.0]
|
|
zoom: 7
|