50 lines
1.1 KiB
Docker
50 lines
1.1 KiB
Docker
# Docker Environment Configuration
|
|
# Copy this file to .env and update with your actual values
|
|
|
|
# Database Configuration (automatically set by docker-compose)
|
|
DB_HOST=drone-detection-db
|
|
DB_PORT=5432
|
|
DB_NAME=drone_detection
|
|
DB_USER=postgres
|
|
DB_PASSWORD=your_secure_password_here
|
|
|
|
# Redis Configuration (automatically set by docker-compose)
|
|
REDIS_HOST=drone-detection-redis
|
|
REDIS_PORT=6379
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET=your-super-secret-jwt-key-change-in-production-make-it-long-and-random
|
|
|
|
# Server Configuration
|
|
PORT=3002
|
|
NODE_ENV=development
|
|
|
|
# CORS Configuration
|
|
CORS_ORIGIN=http://localhost:3001
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
|
|
# Twilio SMS Configuration (Optional - leave empty to disable SMS)
|
|
# Get these from https://console.twilio.com/
|
|
TWILIO_ACCOUNT_SID=
|
|
TWILIO_AUTH_TOKEN=
|
|
TWILIO_PHONE_NUMBER=
|
|
|
|
# Email Configuration (Optional - for future implementation)
|
|
SMTP_HOST=
|
|
SMTP_PORT=587
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM=
|
|
|
|
# Frontend Configuration
|
|
VITE_BASE_PATH=/uggla/
|
|
VITE_API_URL=
|
|
|
|
# Debug Configuration
|
|
STORE_HEARTBEATS=false
|
|
STORE_DRONE_TYPE0=false
|
|
LOG_ALL_DETECTIONS=false
|