mirror of
https://github.com/zvx-echo6/recon.git
synced 2026-06-10 08:54:34 +02:00
Additive prep for the Navi Panel.jsx login/logout cutover. Adds an `auth`
block (login_url, logout_url) to each deployment profile, placed after the
existing `services` block:
- home.yaml login=/outpost.goauthentik.io/start?rd=%2F
logout=auth.echo6.co invalidation flow, next=navi.echo6.co
- minimal_pi.yaml same, with TODO(matt) to confirm logout next= host
- regional_pi.yaml same, with TODO(matt) to confirm logout next= host
No Python change. /api/config returns the whole profile dict, so these keys
flow through automatically; existing consumers ignore unknown keys, making
this backward-safe (the frontend fallback path is simply never needed once
this is live).
Next steps (separate PRs): the navi-config service (:8422) mirroring this
handler, and the Panel.jsx fix to read cfg.auth.login_url/logout_url with the
current literals as fallback.
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
|