fix(ingest): skip known KEV/FIRMS rows; CI skips unchanged images

CISA KEV republished 1685 NIST URLs every 5 min; FIRMS re-inserted
~325k global hotspots every 15 min. Producer now skips URLs already
in event_dedup and FIRMS CSVs that are unchanged (delta-only persist).

CI rebuilds only images whose paths changed and never pulls/rebuilds
Timescale or bounces osint-db unless Dockerfile.pg changes.
This commit is contained in:
Sirius DevOps 2026-08-29 19:32:00 -04:00
commit 5651d251d0
No known key found for this signature in database
9 changed files with 438 additions and 94 deletions

View file

@ -20,8 +20,10 @@ services:
# networks (and ISP abuse-mitigation blackholes) block, so rebuilding it
# on every CI deploy made the pipeline flaky. Rebuild manually when the
# base image or extensions need bumping:
# docker compose build db && docker compose up -d db
# docker build -f Dockerfile.pg -t localhost/osint-dashboard-pg:latest .
# FORCE_RECREATE_DB=1 scripts/compose-reup.sh db
image: localhost/osint-dashboard-pg:latest
pull_policy: never
container_name: osint-db
restart: unless-stopped
environment:
@ -52,6 +54,7 @@ services:
nats:
image: nats:2.10
pull_policy: missing
platform: linux/arm64
container_name: osint-nats
restart: unless-stopped
@ -67,6 +70,7 @@ services:
dockerfile: Dockerfile
platforms: ["linux/arm64"]
image: localhost/osint-dashboard:latest
pull_policy: never
container_name: osint-ingester
restart: unless-stopped
profiles: ["ingest"]
@ -111,6 +115,7 @@ services:
dockerfile: Dockerfile
platforms: ["linux/arm64"]
image: localhost/osint-dashboard:latest
pull_policy: never
container_name: osint-dashboard
restart: unless-stopped
depends_on:
@ -164,6 +169,7 @@ services:
# published on host loopback 127.0.0.1:8001 only.
titiler:
image: ghcr.io/developmentseed/titiler:latest
pull_policy: missing
container_name: osint-titiler
platform: linux/arm64
restart: unless-stopped
@ -183,6 +189,7 @@ services:
dockerfile: Dockerfile
platforms: ["linux/arm64"]
image: localhost/osint-dashboard:latest
pull_policy: never
container_name: osint-camera-scraper
restart: unless-stopped
profiles: ["ingest"]
@ -221,6 +228,7 @@ services:
dockerfile: Dockerfile
platforms: ["linux/arm64"]
image: localhost/osint-news-scraper:latest
pull_policy: never
container_name: osint-news-scraper
restart: unless-stopped
profiles: ["ingest"]
@ -246,6 +254,7 @@ services:
dockerfile: Dockerfile
platforms: ["linux/arm64"]
image: localhost/osint-news-summarizer:latest
pull_policy: never
container_name: osint-news-summarizer
restart: unless-stopped
profiles: ["ingest"]