Files
drone-detector/.env
2025-09-09 06:54:13 +02:00

42 lines
1.0 KiB
Bash

# Environment Configuration
# Application Base Path
VITE_BASE_PATH=/uggla/
# For local development, these will be auto-configured based on VITE_BASE_PATH
# For production/domain deployment, these will use relative URLs based on base path
# VITE_API_URL= (leave empty to auto-configure)
# Backend Configuration
NODE_ENV=production
PORT=3001
# Database Configuration
DB_HOST=localhost
DB_PORT=5432
DB_NAME=drone_detection
DB_USER=postgres
DB_PASSWORD=postgres123
# JWT Configuration
JWT_SECRET=your-super-secret-jwt-key-change-in-production-make-it-long-and-random
# Twilio Configuration (for SMS alerts)
TWILIO_ACCOUNT_SID=your_twilio_account_sid_here
TWILIO_AUTH_TOKEN=your_twilio_auth_token_here
TWILIO_PHONE_NUMBER=your_twilio_phone_number_here
# CORS Configuration
CORS_ORIGIN=http://localhost:3000
# Debug Configuration
STORE_HEARTBEATS=true
STORE_DRONE_TYPE0=true
LOG_ALL_DETECTIONS=true
API_DEBUG=true
# Health Probe Simulator Configuration
PROBE_FAILRATE=30
PROBE_INTERVAL_SECONDS=60
API_BASE_URL=https://selfservice.cqers.com/uggla/api