Files
meshstream/.env.example
2025-05-01 15:34:16 -07:00

45 lines
1.8 KiB
Plaintext

# Environment variables for docker-compose
# Copy this file to .env and customize with your own values
###########################################
# Web app variables (BUILD-TIME ONLY)
# These must be set at build time and are
# compiled into the static HTML/JS files
###########################################
# Development setup - enables more detailed logging and developer features
MESHSTREAM_APP_ENV=development
# MESHSTREAM_APP_ENV=production # Uncomment for production build
# Site customization
MESHSTREAM_SITE_TITLE=Bay Area Mesh - Dev
MESHSTREAM_SITE_DESCRIPTION=Development instance - Meshtastic activity in Bay Area region
# For local development, point to local server
# (empty for production where API is on same domain)
MESHSTREAM_API_BASE_URL=http://localhost:8080
# Google Maps API configuration - required for maps to work
# Get keys at: https://developers.google.com/maps/documentation/javascript/get-api-key
MESHSTREAM_GOOGLE_MAPS_ID=your mapid
MESHSTREAM_GOOGLE_MAPS_API_KEY=your api
# IMPORTANT: To change these values after building, you must rebuild the image
###########################################
# Runtime environment variables
###########################################
# MQTT connection settings
MESHSTREAM_MQTT_BROKER=mqtt.bayme.sh
MESHSTREAM_MQTT_USERNAME=meshdev
MESHSTREAM_MQTT_PASSWORD=large4cats
# Topic to monitor - customize for your region
MESHSTREAM_MQTT_TOPIC_PREFIX=msh/US/bayarea
# Server configuration
MESHSTREAM_SERVER_HOST=0.0.0.0 # Listen on all interfaces
MESHSTREAM_SERVER_PORT=8080 # Standard web port
MESHSTREAM_STATIC_DIR=/app/static
# Logging and debugging
MESHSTREAM_LOG_LEVEL=debug # Options: debug, info, warn, error
MESHSTREAM_VERBOSE_LOGGING=true # Set to false in production
MESHSTREAM_CACHE_SIZE=1000 # Number of packets to cache for new subscribers