Files
drone-detector/.env
2025-09-06 15:25:03 +02:00

31 lines
892 B
Bash

# For local development, uncomment these lines:
# VITE_API_URL=http://localhost:3002/api
# VITE_WS_URL=ws://localhost:3002
# For production/domain deployment, use relative URLs (default):
VITE_API_URL=/drones/api
VITE_WS_URL=/drones
VITE_BASE_PATH=/uggla/
# Docker Environment Configuration
# Copy this file to .env and update with your actual values
# 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
# Health Probe Simulator Configuration
PROBE_FAILRATE=30
PROBE_INTERVAL_SECONDS=60
API_BASE_URL=https://selfservice.cqers.com/drones/api
API_DEBUG=true
# Optional: Override default settings
# NODE_ENV=production
# CORS_ORIGIN=http://localhost:3000