mirror of
https://github.com/l5yth/potato-mesh.git
synced 2026-03-28 17:42:48 +01:00
81 lines
2.4 KiB
Plaintext
81 lines
2.4 KiB
Plaintext
# PotatoMesh Environment Configuration
|
|
# Copy this file to .env and customize for your setup
|
|
|
|
# =============================================================================
|
|
# REQUIRED SETTINGS
|
|
# =============================================================================
|
|
|
|
# API authentication token (required for ingestor communication)
|
|
# Generate a secure token: openssl rand -hex 32
|
|
API_TOKEN=your-secure-api-token-here
|
|
|
|
# Meshtastic device path (required for ingestor)
|
|
# Common paths:
|
|
# - Linux: /dev/ttyACM0, /dev/ttyUSB0
|
|
# - macOS: /dev/cu.usbserial-*
|
|
# - Windows (WSL): /dev/ttyS*
|
|
MESH_SERIAL=/dev/ttyACM0
|
|
|
|
# =============================================================================
|
|
# SITE CUSTOMIZATION
|
|
# =============================================================================
|
|
|
|
# Your mesh network name
|
|
SITE_NAME=My Meshtastic Network
|
|
|
|
# Default Meshtastic channel
|
|
DEFAULT_CHANNEL=#MediumFast
|
|
|
|
# Default frequency for your region
|
|
# Common frequencies: 868MHz (Europe), 915MHz (US), 433MHz (Worldwide)
|
|
DEFAULT_FREQUENCY=868MHz
|
|
|
|
# Map center coordinates (latitude, longitude)
|
|
# Berlin, Germany: 52.502889, 13.404194
|
|
# Denver, Colorado: 39.7392, -104.9903
|
|
# London, UK: 51.5074, -0.1278
|
|
MAP_CENTER_LAT=52.502889
|
|
MAP_CENTER_LON=13.404194
|
|
|
|
# Maximum distance to show nodes (kilometers)
|
|
MAX_NODE_DISTANCE_KM=50
|
|
|
|
# =============================================================================
|
|
# OPTIONAL INTEGRATIONS
|
|
# =============================================================================
|
|
|
|
# Matrix chat room for your community (optional)
|
|
# Format: !roomid:matrix.org
|
|
MATRIX_ROOM='#meshtastic-berlin:matrix.org'
|
|
|
|
|
|
# =============================================================================
|
|
# ADVANCED SETTINGS
|
|
# =============================================================================
|
|
|
|
# Debug mode (0=off, 1=on)
|
|
DEBUG=0
|
|
|
|
# Docker image architecture (linux-amd64, linux-arm64, linux-armv7)
|
|
POTATOMESH_IMAGE_ARCH=linux-amd64
|
|
|
|
# Docker Compose networking profile
|
|
# Leave unset for Linux hosts (default host networking).
|
|
# Set to "bridge" on Docker Desktop (macOS/Windows) if host networking
|
|
# is unavailable.
|
|
# COMPOSE_PROFILES=bridge
|
|
|
|
# Meshtastic snapshot interval (seconds)
|
|
MESH_SNAPSHOT_SECS=60
|
|
|
|
# Meshtastic channel index (0=primary, 1=secondary, etc.)
|
|
MESH_CHANNEL_INDEX=0
|
|
|
|
# Database settings
|
|
DB_BUSY_TIMEOUT_MS=5000
|
|
DB_BUSY_MAX_RETRIES=5
|
|
DB_BUSY_RETRY_DELAY=0.05
|
|
|
|
# Application settings
|
|
MAX_JSON_BODY_BYTES=1048576
|