Files
meshcore-usb-dashboard/.env.example
T
Will Bradley d19c071814 basic working
2025-10-11 21:05:39 -07:00

33 lines
711 B
Bash

# Server Configuration
PORT=3000
NODE_ENV=production
# Session Secret (CHANGE THIS!)
SESSION_SECRET=change-this-to-a-random-secret-string
# MQTT Configuration
MQTT_BROKER=mqtt://mqtt.meshtastic.org
MQTT_PORT=1883
MQTT_USERNAME=meshdev
MQTT_PASSWORD=large4cats
MQTT_TOPIC=msh/US/#
MQTT_PUB_TOPIC="msh/US/2/json/mqtt/"
# Optional: If you have your own MQTT broker
# MQTT_BROKER=mqtt://your-broker.com
# MQTT_USERNAME=your-username
# MQTT_PASSWORD=your-password
# Data Retention (in days)
DATA_RETENTION_DAYS=30
# Cron schedule for automatic data purging (default: daily at 2 AM)
PURGE_CRON_SCHEDULE=0 2 * * *
# Logging
LOG_LEVEL=info
# Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100