forked from Boommook/dispatchbot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdispatchbot-config.env
More file actions
33 lines (26 loc) · 1004 Bytes
/
dispatchbot-config.env
File metadata and controls
33 lines (26 loc) · 1004 Bytes
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
# DispatchBot Configuration
# This connects to the SAME database as your ride request app
# Server Configuration
PORT=3000
NODE_ENV=development
# MongoDB Configuration - Use the SAME database as your ride request app
MONGODB_URI=mongodb+srv://boommooker:oWG1u9kCbUWBeE4n@transportationappcluste.oudnt70.mongodb.net/?retryWrites=true&w=majority&appName=TransportationAppCluster
# Twilio Configuration - Use the SAME credentials as your ride request app
TWILIO_ACCOUNT_SID=your_twilio_account_sid_here
TWILIO_AUTH_TOKEN=your_twilio_auth_token_here
TWILIO_FROM_NUMBER=+18444190091
TWILIO_WEBHOOK_URL=https://your-domain.com/webhooks/twilio
# Logging Configuration
LOG_LEVEL=info
LOG_FILE=dispatchbot.log
# Notification Queue Configuration
MAX_RETRIES=3
RETRY_DELAY=5000
QUEUE_PROCESSING_INTERVAL=10000
# Emergency Contact Configuration
EMERGENCY_ALERT_DELAY=0
EMERGENCY_ESCALATION_TIMEOUT=300000
# Security Configuration
API_KEY=your_api_key_here
RATE_LIMIT_WINDOW=900000
RATE_LIMIT_MAX_REQUESTS=100