Fix jwt-token
This commit is contained in:
23
.env.server
Normal file
23
.env.server
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
|
||||
# Frontend API Configuration
|
||||
# For production/domain deployment, use relative URLs:
|
||||
VITE_API_URL=/drones/api
|
||||
VITE_WS_URL=/drones
|
||||
|
||||
# For local development, uncomment these lines:
|
||||
# VITE_API_URL=http://localhost:3002/api
|
||||
# VITE_WS_URL=ws://localhost:3002
|
||||
|
||||
# Optional: Override default settings
|
||||
# NODE_ENV=production
|
||||
# CORS_ORIGIN=http://localhost:3000
|
||||
Reference in New Issue
Block a user