osint-dashboard#68: the ADSB refresh loop persisted aircraft only for connected browser viewports, so aircraft_positions stalled whenever nobody had the map open. The new image sweeps the chokepoint presets while idle; this commit pins it and sets ADSB_REFRESH_INTERVAL/ADSB_WATCH_* explicitly instead of relying on app defaults. ingester/camera keep amd64-915f6cbe25be (no loop change there); pinning the ingester would restart it for nothing.
96 lines
4.4 KiB
YAML
96 lines
4.4 KiB
YAML
# Shared, non-secret runtime configuration for every OSINT workload.
|
|
# Secrets (Postgres password, Nous API key, FIRMS/AIS keys) are NOT here:
|
|
# * Postgres password -> Secret `osint-db` (created out of band, never in git)
|
|
# * API keys -> dashboard Keys page, stored in the `api_keys` table
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: osint-env
|
|
namespace: osint
|
|
data:
|
|
DB_HOST: osint-db
|
|
DB_PORT: "5432"
|
|
DB_NAME: osint_data
|
|
DB_USER: osint
|
|
NATS_URL: nats://osint-nats:4222
|
|
|
|
# SAR tile proxy, exposed same-origin under /titiler by the HTTPRoute.
|
|
TITILER_INTERNAL_URL: http://osint-titiler:8000
|
|
TITILER_PUBLIC_BASE: /titiler
|
|
|
|
TZ: America/New_York
|
|
OSINT_USER_AGENT: "osint-dashboard/1.0 (self-hosted; [email protected])"
|
|
|
|
# ── ingester ────────────────────────────────────────────────────────────
|
|
INGEST_INTERVAL: "300"
|
|
INGEST_EARTHQUAKES: "1"
|
|
INGEST_FIRES: "1"
|
|
FIRMS_DATASETS: "VIIRS_NOAA20_NRT,VIIRS_NOAA21_NRT"
|
|
FIRMS_BBOX: "-180,-60,180,75"
|
|
FIRMS_INTERVAL: "900"
|
|
VESSELAPI_BBOX: "25.5,55.4,27.3,57.2"
|
|
VESSELAPI_INTERVAL: "17280"
|
|
VESSELAPI_MAX_CALLS_PER_DAY: "5"
|
|
AISSTREAM_IN_APP: "1"
|
|
AISSTREAM_IN_INGEST: "0"
|
|
VESSELAPI_IN_APP: "0"
|
|
VESSELAPI_IN_INGEST: "1"
|
|
|
|
# ── ADS-B refresh (osint-app `_adsb_refresh_loop`) ──────────────────────
|
|
# The loop polls ADSB.lol for each connected browser viewport. With no tab
|
|
# open it used to persist nothing, and aircraft_positions stalled for a day
|
|
# (max(ts) frozen 2026-11-20 04:58 -> 2026-11-21) while USGS/news kept
|
|
# ingesting. While idle it now sweeps the chokepoint presets instead.
|
|
ADSB_REFRESH_INTERVAL: "8"
|
|
ADSB_WATCH_ENABLED: "1"
|
|
ADSB_WATCH_INTERVAL: "30"
|
|
|
|
# ── camera discovery service ────────────────────────────────────────────
|
|
CAMERA_SOURCE_URLS: ""
|
|
CAMERA_SCRAPE_INTERVAL: "3600"
|
|
CAMERA_REQUEST_DELAY: "2.0"
|
|
CAMERA_MAX_PER_SOURCE: "20000"
|
|
NOMINATIM_URL: https://nominatim.openstreetmap.org
|
|
NOMINATIM_MIN_INTERVAL: "1.1"
|
|
SNAPSHOT_CACHE_DIR: /data/snapshots
|
|
SNAPSHOT_TTL_SECONDS: "300"
|
|
|
|
# ── news scraper ────────────────────────────────────────────────────────
|
|
LOG_LEVEL: INFO
|
|
NEWS_SCRAPE_INTERVAL_S: "10"
|
|
NEWS_SCRAPE_RUN_ON_START: "1"
|
|
|
|
# ── auth (see README, Secret `osint-admin`) ──────────────────────────────
|
|
# The Cloudflare tunnel origins at the Cilium Gateway on plain HTTP and Envoy
|
|
# normalizes X-Forwarded-Proto to http, so app/auth.py's header inference can
|
|
# never see https here: this flag is what puts `Secure` on the session cookie.
|
|
ADMIN_COOKIE_SECURE: "1"
|
|
|
|
# ── news summarizer (analyst) — Nous Portal, free tier model ────────────
|
|
NOUS_BASE_URL: https://inference-api.nousresearch.com/v1
|
|
SUMMARY_MODEL: meituan/longcat-2.5:free
|
|
# 4, not the upstream default 50: the map phase runs with a hard 60 s httpx
|
|
# timeout (news/summerizer/nous_client.py, json_mode=False), and this free
|
|
# model needs ~30 s for 8 articles, so bigger batches time out and silently
|
|
# contribute nothing to the reduce phase.
|
|
BATCH_SIZE: "4"
|
|
# Map-phase grading (PR #53): the map call scores every article 0-100 against
|
|
# a rubric and only blocks >= SUMMARY_MIN_SCORE reach the brief. When nothing
|
|
# clears the bar the top SUMMARY_FALLBACK_TOP are used so the HUD is not blank
|
|
# (set 0 for a genuinely empty "no significant developments" brief).
|
|
SUMMARY_MIN_SCORE: "60"
|
|
SUMMARY_TOP_N: "12"
|
|
SUMMARY_FALLBACK_TOP: "3"
|
|
# Lowest score the fallback may pick when nothing clears SUMMARY_MIN_SCORE;
|
|
# below this the brief is the honest "no significant developments" one.
|
|
SUMMARY_FALLBACK_MIN_SCORE: "40"
|
|
# Syndication dedupe (PR #55): identical wire copy from sister stations is
|
|
# collapsed to one representative before the threshold/cap, so top_n buys
|
|
# distinct stories. SUMMARY_DEDUPE=0 disables it.
|
|
SUMMARY_DEDUPE: "1"
|
|
SUMMARY_DEDUPE_SIMILARITY: "0.85"
|
|
NEWS_SUMMARIZE_INTERVAL_S: "900"
|
|
NEWS_SUMMARIZE_RUN_ON_START: "1"
|
|
NEWS_RECAP_HOUR: "23"
|
|
NEWS_RECAP_MINUTE: "0"
|
|
INCLUDE_FUTURES: "0"
|