apps(osint): pin app to amd64-54897b49bc57 + ADS-B idle watch env #34

Merged
sirius merged 1 commit from fix/osint-adsb-watch-poll into master 2026-11-21 22:42:24 +00:00
2 changed files with 11 additions and 2 deletions
Showing only changes of commit f326735a8b - Show all commits

apps(osint): pin app to amd64-54897b49bc57 + ADS-B idle watch env

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.
Lance Walters 2026-11-21 17:42:10 -05:00

View file

@ -24,7 +24,7 @@ spec:
initContainers:
# Wait for Postgres before alembic runs (the entrypoint migrates).
- name: wait-for-db
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-915f6cbe25be
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-54897b49bc57
imagePullPolicy: IfNotPresent
command:
- python
@ -42,7 +42,7 @@ spec:
sys.exit("postgres did not become reachable in 300s")
containers:
- name: app
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-915f6cbe25be
image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-54897b49bc57
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8000

View file

@ -36,6 +36,15 @@ data:
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"