| Filename | Latest commit message | Latest commit date |
|---|---|---|
The first pin (:amd64-d8113b37b8ac) was built from a stale working tree — the local checkout sits on fix/dashboard-geofence-vessels-sentinel-news, not origin/master, so the image carried no app/auth.py and the deployed HUD still served /api/keys open with /login 404. Rebuilt from a detached worktree at d8113b37b8ac (:amd64-d8113b37b8ac-r1, verified /app/app/auth.py exists in the image) and repin the three consumers. |
||
| .. | ||
| pg-image | ||
| app-deployment.yaml | ||
| app-service.yaml | ||
| camera-deployment.yaml | ||
| camera-pvc.yaml | ||
| configmap.yaml | ||
| httproute.yaml | ||
| ingester-deployment.yaml | ||
| kustomization.yaml | ||
| namespace.yaml | ||
| nats-deployment.yaml | ||
| nats-service.yaml | ||
| news-scraper-deployment.yaml | ||
| news-summarizer-deployment.yaml | ||
| postgres-deployment.yaml | ||
| postgres-pvc.yaml | ||
| postgres-service.yaml | ||
| README.md | ||
| titiler-deployment.yaml | ||
| titiler-service.yaml | ||
OSINT Dashboard stack (namespace osint)
Ported from the Pi docker-compose stack in sirius/osint-dashboard so the
dashboard is served from the cluster at https://osint.siriusdevops.com
instead of a host Docker container on the Pi.
Workloads
| Deployment | Image | Purpose |
|---|---|---|
osint-db |
forgejo…/sirius/osint-dashboard-pg:amd64-c48788d4b614-r2 |
TimescaleDB 2 + PostGIS 3 on Postgres 16, local-path PVC osint-pgdata 15 Gi |
osint-nats |
forgejo…/sirius/nats:2.10 |
JetStream event bus (-js -m 8222) |
osint-app |
forgejo…/sirius/osint-dashboard:amd64-c48788d4b614 |
FastAPI + static HUD; runs alembic upgrade heads on start |
osint-ingester |
same app image | RSS/GDELT/USGS/FIRMS/vessel ingest → NATS → Postgres |
osint-camera-service |
same app image | public-camera discovery + snapshots (PVC osint-camera-snapshots 3 Gi, shared with the app) |
osint-titiler |
forgejo…/sirius/titiler:0.26.0 |
SAR COG tile proxy, exposed same-origin at /titiler |
osint-news-scraper |
forgejo…/sirius/osint-news-scraper:amd64-c48788d4b614 |
Scrapy news scraper loop |
osint-news-summarizer |
forgejo…/sirius/osint-news-summarizer:amd64-c48788d4b614 |
"analyst" — Nous Portal briefs every 15 min + 23:00 recap |
Every workload is pinned to kubernetes.io/hostname: siriussec (Gateway/Envoy
co-location + local-path PVs).
Images
The upstream CI (.forgejo/workflows/build.yml in sirius/osint-dashboard)
builds arm64 for the Pi via runs-on: docker. The cluster is amd64, so the
images above were built on an amd64 host and pushed to the Forgejo registry
over a kubectl -n forgejo port-forward svc/forgejo 3000:3000 (Cloudflare
rejects layer uploads ≳100 MB on the public hostname).
cd ~/osint-dashboard
SHA=$(git rev-parse --short=12 HEAD)
docker build -f Dockerfile -t 127.0.0.1:3000/sirius/osint-dashboard:$TAG .
docker build -f news/scraper/Dockerfile -t 127.0.0.1:3000/sirius/osint-news-scraper:$TAG news/scraper
docker build -f news/summerizer/Dockerfile -t 127.0.0.1:3000/sirius/osint-news-summarizer:$TAG news/summerizer
docker build -f pg-image/Dockerfile -t 127.0.0.1:3000/sirius/osint-dashboard-pg:$TAG-r2 .
pg-image/Dockerfile is the cluster copy of Dockerfile.pg. It pins
postgres:16-bookworm: the upstream file's bare postgres:16 now resolves to
Debian trixie, whose postgresql-16-postgis-3 (3.7.0+pgdg13) fails to load
against PG 16.15 with undefined symbol: heap_datum_check — CREATE EXTENSION postgis crashes the server. On bookworm (+pgdg12) PostGIS 3.7 loads and
create_hypertable() works. Port the one-line base-image pin upstream when the
Pi stack is next rebuilt.
Secrets (never in git)
kubectl -n osint create secret generic osint-db --from-literal=password='<strong>'
osint-db/password is used for POSTGRES_PASSWORD and every workload's
DB_PASSWORD. Regenerating it requires the Postgres role password to be changed
too (ALTER ROLE osint PASSWORD …), not just the Secret.
API keys (Nous Portal NOUS_API_KEY, FIRMS, AISStream, VesselAPI) are not
Kubernetes Secrets: they live in the dashboard's api_keys table and are set
from the Keys page in the UI (GET/PUT /api/keys). The summarizer reads
NOUS_API_KEY from the env first, then from that table.
Analyst model
SUMMARY_MODEL=meituan/longcat-2.5:free (free tier on the Nous Portal,
1M context, verified to honour response_format: json_object). It is set in
configmap.yaml; changing it in the UI (PUT /api/settings) only takes effect
when the env var is empty, because resolve_model() prefers the env.
Ingress
Cloudflare tunnel sirius home already carries osint.siriusdevops.com →
http://10.10.0.2:8080. DNS is a proxied CNAME to
6d0702eb-99cc-4062-b57d-e70e2f1a7895.cfargotunnel.com. HTTPRoute rule order:
/titiler (prefix stripped) → osint-titiler:8000, then / → osint-app:8000
(WebSocket /ws/live included).