mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-06-21 02:24:51 +02:00
6a455cb652
Created complete project structure for mc-webui MVP: - Docker configuration (Dockerfile, docker-compose.yml) - Environment configuration (.env.example) - Python dependencies (requirements.txt) - Project documentation (README.md) - Git ignore rules (.gitignore) - Directory structure for app, routes, templates, static files Ready for Phase 1: Backend implementation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# mc-webui Environment Configuration
|
|
# Copy this file to .env and adjust values for your setup
|
|
|
|
# ============================================
|
|
# MeshCore Device Configuration
|
|
# ============================================
|
|
|
|
# Serial port path (use /dev/serial/by-id for stable device names)
|
|
# Find your device: ls -l /dev/serial/by-id/
|
|
MC_SERIAL_PORT=/dev/serial/by-id/usb-Espressif_Systems_heltec_wifi_lora_32_v4__16_MB_FLASH__2_MB_PSRAM__90706984A000-if00
|
|
|
|
# Your MeshCore device name (used for .msgs file)
|
|
MC_DEVICE_NAME=MarWoj
|
|
|
|
# MeshCore configuration directory (where .msgs file is stored)
|
|
MC_CONFIG_DIR=/root/.config/meshcore
|
|
|
|
# ============================================
|
|
# Application Settings
|
|
# ============================================
|
|
|
|
# Auto-refresh interval in seconds
|
|
MC_REFRESH_INTERVAL=60
|
|
|
|
# Hours of inactivity before contacts can be cleaned up
|
|
MC_INACTIVE_HOURS=48
|
|
|
|
# ============================================
|
|
# Flask Server Configuration
|
|
# ============================================
|
|
|
|
# Listen on all interfaces (0.0.0.0) or specific IP
|
|
FLASK_HOST=0.0.0.0
|
|
|
|
# Port to expose the web interface
|
|
FLASK_PORT=5000
|
|
|
|
# Debug mode (true/false) - use false in production
|
|
FLASK_DEBUG=false
|