mirror of
https://github.com/ipnet-mesh/meshcore-hub.git
synced 2026-03-28 17:42:56 +01:00
67 lines
1.3 KiB
Plaintext
67 lines
1.3 KiB
Plaintext
# MeshCore Hub - Docker Compose Environment Configuration
|
|
# Copy this file to .env and customize values
|
|
|
|
# ===================
|
|
# Common Settings
|
|
# ===================
|
|
|
|
# Logging level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
|
|
LOG_LEVEL=INFO
|
|
|
|
# MQTT Broker Settings (internal use)
|
|
MQTT_USERNAME=
|
|
MQTT_PASSWORD=
|
|
MQTT_PREFIX=meshcore
|
|
|
|
# External MQTT port mapping
|
|
MQTT_EXTERNAL_PORT=1883
|
|
MQTT_WS_PORT=9001
|
|
|
|
# ===================
|
|
# Interface Settings
|
|
# ===================
|
|
|
|
# Serial port for receiver device
|
|
SERIAL_PORT=/dev/ttyUSB0
|
|
|
|
# Serial port for sender device (if separate)
|
|
SERIAL_PORT_SENDER=/dev/ttyUSB1
|
|
|
|
# Baud rate for serial communication
|
|
SERIAL_BAUD=115200
|
|
|
|
# Optional node address override (64-char hex string)
|
|
NODE_ADDRESS=
|
|
NODE_ADDRESS_SENDER=
|
|
|
|
# ===================
|
|
# API Settings
|
|
# ===================
|
|
|
|
# External API port
|
|
API_PORT=8000
|
|
|
|
# API Keys for authentication (generate secure keys for production!)
|
|
# Example: openssl rand -hex 32
|
|
API_READ_KEY=
|
|
API_ADMIN_KEY=
|
|
|
|
# ===================
|
|
# Web Dashboard Settings
|
|
# ===================
|
|
|
|
# External web port
|
|
WEB_PORT=8080
|
|
|
|
# Network Information (displayed on web dashboard)
|
|
NETWORK_NAME=MeshCore Network
|
|
NETWORK_CITY=
|
|
NETWORK_COUNTRY=
|
|
NETWORK_LOCATION=
|
|
NETWORK_RADIO_CONFIG=
|
|
NETWORK_CONTACT_EMAIL=
|
|
NETWORK_CONTACT_DISCORD=
|
|
|
|
# Path to members JSON file (mounted into container)
|
|
MEMBERS_FILE_PATH=./data/members.json
|