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>
67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
# Deployment profile: Home (VM 1130)
|
|
# Active on the main Echo6 deployment. Full stack with planet-scale NA tiles.
|
|
# Override via RECON_PROFILE env var in /etc/systemd/system/recon.service
|
|
|
|
profile: home
|
|
region_name: "North America"
|
|
|
|
tileset:
|
|
url: "/tiles/planet/current.pmtiles"
|
|
bounds: [-168, 14, -52, 72]
|
|
max_zoom: 15
|
|
attribution: "Protomaps © OSM"
|
|
|
|
tileset_hillshade:
|
|
url: "/tiles/planet-dem.pmtiles"
|
|
encoding: "terrarium"
|
|
max_zoom: 12
|
|
|
|
traffic:
|
|
provider: "tomtom"
|
|
proxy_url: "/api/traffic/flow/{z}/{x}/{y}.png"
|
|
|
|
place_details:
|
|
local_source: "nominatim"
|
|
local_bbox: [-125.0, 31.3, -104.0, 49.0]
|
|
fallback_source: "overpass"
|
|
|
|
services:
|
|
geocode: "/api/geocode"
|
|
reverse: "/api/reverse"
|
|
address_book: "/api/address_book"
|
|
valhalla: "/valhalla"
|
|
|
|
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: true
|
|
has_kiwix_wiki: true
|
|
has_hillshade: true
|
|
has_3d_terrain: false
|
|
has_traffic_overlay: true
|
|
has_landclass: true
|
|
has_public_lands_layer: true
|
|
has_contours: true
|
|
has_contours_test: false
|
|
has_contours_test_10ft: false
|
|
has_address_book_write: false
|
|
has_overture_enrichment: true
|
|
has_google_places_enrichment: true
|
|
has_contacts: true
|
|
has_wiki_rewriting: true
|
|
has_wiki_discovery: false
|
|
has_usfs_trails: true
|
|
has_blm_trails: true
|
|
|
|
defaults:
|
|
center: [42.5736, -114.6066]
|
|
zoom: 10
|
|
|
|
# Offroute wilderness routing
|
|
offroute:
|
|
osm_pbf_path: "/mnt/nav/sources/idaho-latest.osm.pbf"
|
|
densify_interval_m: 100
|
|
postgis_dsn: "dbname=padus"
|
|
|