-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (25 loc) · 1.7 KB
/
.env.example
File metadata and controls
35 lines (25 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# ─── Prexus Atmos — Environment Variables ────────────────────────────────────
# Copy to .env and fill in values.
# ── Data Engine (Python FastAPI) ──────────────────────────────────────────────
PORT=8000
# Optional Redis for caching. Leave blank to use in-memory cache.
REDIS_URL=
# TimescaleDB connection string (PostgreSQL + TimescaleDB + PostGIS)
# Format: postgresql://user:password@host:5432/atmos
DATABASE_URL=postgresql://atmos:atmos@localhost:5432/atmos
# How often the ingestion worker polls each location (seconds)
INGEST_INTERVAL_SEC=300
# WAQI (World Air Quality Index) — free key at https://aqicn.org/data-platform/token/
# Without this, AQI falls back to Open-Meteo model (still real data, no station data)
WAQI_TOKEN=
# NASA FIRMS — free key at https://firms.modaps.eosdis.nasa.gov/api/
# Without this, fire detections return empty with a note.
NASA_FIRMS_KEY=
# ── Go API Gateway ────────────────────────────────────────────────────────────
# URL of the Python data engine (as seen by the Go gateway)
DATA_ENGINE_URL=http://localhost:8000
PORT=8080
GIN_MODE=debug # set to "release" in production
# ── Frontend ─────────────────────────────────────────────────────────────────
# Set in your HTML or served config:
# window.ATMOS_API = 'https://your-gateway.com/api/v1'