Files
drone-detector/server/.env.example
2025-09-01 07:42:59 +02:00

35 lines
723 B
Plaintext

# Environment Configuration
NODE_ENV=development
PORT=3001
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=drone_detection
DB_USER=postgres
DB_PASSWORD=password
# JWT Secret
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Twilio Configuration (for SMS alerts)
TWILIO_ACCOUNT_SID=your-twilio-account-sid
TWILIO_AUTH_TOKEN=your-twilio-auth-token
TWILIO_PHONE_NUMBER=your-twilio-phone-number
# Alert Configuration
SMS_ALERTS_ENABLED=true
EMAIL_ALERTS_ENABLED=false
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100
# CORS Configuration
CORS_ORIGIN=http://localhost:3000
# Debug Configuration
STORE_HEARTBEATS=false
STORE_DRONE_TYPE0=false
LOG_ALL_DETECTIONS=false