initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# 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/#
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user