-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (30 loc) · 2.55 KB
/
Copy path.env.example
File metadata and controls
39 lines (30 loc) · 2.55 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
36
37
38
39
# ─── Project Voyage — Environment Variables ──────────────────────────────────
# Copy this to .env and fill in your values.
# NEVER commit .env to git.
# ─── App ─────────────────────────────────────────────────────────────────────
DEBUG=false
API_KEY=changeme-generate-a-real-key
# ─── Database ─────────────────────────────────────────────────────────────────
# Used by FastAPI (async driver)
DATABASE_URL=postgresql+asyncpg://voyage:voyage@localhost:5432/voyage
# Used by Alembic (sync driver)
DATABASE_URL_SYNC=postgresql://voyage:voyage@localhost:5432/voyage
# ─── Redis ────────────────────────────────────────────────────────────────────
REDIS_URL=redis://localhost:6379/0
# ─── Redpanda / Kafka ─────────────────────────────────────────────────────────
KAFKA_BOOTSTRAP_SERVERS=localhost:19092
# ─── External APIs ────────────────────────────────────────────────────────────
# AISstream.io: https://aisstream.io (free API key — no hardware required)
# Sign up, verify email, copy your API key from the dashboard.
# Leave blank to stream realistic mock vessel data instead.
AISSTREAM_API_KEY=
# NewsAPI: https://newsapi.org (free tier: 100 req/day)
NEWSAPI_KEY=
# HAPI (UN OCHA Humanitarian API) needs NO key — no entry needed here.
# Conflict events, food security, and displacement data are fetched
# without credentials. See ingestion/osint/hapi_worker.py.
# ─── ML Service ───────────────────────────────────────────────────────────────
ML_SERVICE_URL=http://localhost:8001
# ─── CORS (comma-separated origins) ──────────────────────────────────────────
# Add your frontend URL here
CORS_ORIGINS=["http://localhost:3000"]