-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (33 loc) · 2 KB
/
.env.example
File metadata and controls
41 lines (33 loc) · 2 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
40
41
# ─── Database ───────────────────────────────────────────
TIMESCALE_URL=postgresql+asyncpg://sentinel:password@localhost:5432/sentinel_db
# ─── Vector Store ───────────────────────────────────────
QDRANT_HOST=localhost
QDRANT_PORT=6333
QDRANT_COLLECTION=sentinel_signals
# ─── Message Broker ─────────────────────────────────────
KAFKA_BOOTSTRAP_SERVERS=localhost:9092
KAFKA_TOPIC_RAW=sentinel.raw
KAFKA_TOPIC_NORMALIZED=sentinel.normalized
KAFKA_TOPIC_ALERTS=sentinel.alerts
# ─── Cache ──────────────────────────────────────────────
REDIS_URL=redis://localhost:6379/0
# ─── Embeddings ─────────────────────────────────────────
EMBEDDING_MODEL=sentence-transformers/all-mpnet-base-v2
EMBEDDING_DIM=768
# ─── Data Source API Keys ───────────────────────────────
TWITTER_BEARER_TOKEN=your_token_here
GDELT_BASE_URL=http://api.gdeltproject.org/api/v2
ACLED_API_KEY=your_key_here
ACLED_EMAIL=your@email.com
# ─── Alert Thresholds ───────────────────────────────────
ALERT_THRESHOLD_WARNING=0.55
ALERT_THRESHOLD_CRITICAL=0.75
CORRELATION_MIN_STRENGTH=0.60
# ─── API ────────────────────────────────────────────────
API_HOST=0.0.0.0
API_PORT=8000
API_SECRET_KEY=change_this_in_production
# ─── Temporal Windows (giorni) ──────────────────────────
WINDOW_SHORT=7
WINDOW_MEDIUM=30
WINDOW_LONG=90