-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (38 loc) · 1.36 KB
/
Copy path.env.example
File metadata and controls
47 lines (38 loc) · 1.36 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
42
43
44
45
46
47
# ArdaLink API — environment template
# Copy to .env and fill in. Never commit .env.
# Server
PORT=3000
NODE_ENV=development
LOG_LEVEL=info
# Database — PostgreSQL (operational data)
DATABASE_URL=postgresql://user:password@localhost:5432/ardalink
# Database — Azure Cosmos DB (reference data: baselines, pixel grids)
COSMOS_DB_ENDPOINT=https://your-account.documents.azure.com:443/
COSMOS_DB_PRIMARY_KEY=your-cosmos-db-primary-key
# Azure OpenAI
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_API_KEY=your-azure-openai-api-key
AZURE_OPENAI_CHAT_DEPLOYMENT=gpt-4o
AZURE_OPENAI_WHISPER_DEPLOYMENT=whisper
AZURE_OPENAI_REALTIME_DEPLOYMENT=gpt-4o-realtime-preview
# Google Earth Engine (single-line JSON)
GOOGLE_SERVICE_ACCOUNT_JSON={"type":"service_account","project_id":"..."}
# Africa's Talking
AFRICASTALKING_USERNAME=sandbox
AFRICASTALKING_API_KEY=your-africastalking-api-key
AFRICASTALKING_CALLER_ID=+254711082200
# App
RECIPIENT_PHONE=+254700000000
SESSION_SECRET=your-random-session-secret-here
# Optional rate limits
PUBLIC_TALK_DAILY_BUDGET_MINUTES=30
PUBLIC_TALK_MAX_CALLS_PER_PHONE=3
PUBLIC_TALK_MAX_CALLS_PER_IP=10
TALK_CHAT_MAX_MSGS_PER_IP=50
TALK_CHAT_PER_IP_COOLDOWN_MS=60000
# Optional location defaults (Bula Pesa Ward)
WARD_CLIMATE_LAT=0.355
WARD_CLIMATE_LON=37.583
LOCAL_ZONE_LAT=0.355
LOCAL_ZONE_LON=37.583
LOCAL_ZONE_RADIUS_KM=5