26 lines
703 B
Text
26 lines
703 B
Text
# Environment variables for noisebell
|
|
# Copy this file to .env and modify as needed
|
|
|
|
# GPIO Configuration
|
|
NOISEBELL_GPIO_PIN=17
|
|
NOISEBELL_GPIO_DEBOUNCE_DELAY_SECS=5
|
|
|
|
# Web Monitor Configuration
|
|
NOISEBELL_WEB_MONITOR_PORT=8080
|
|
NOISEBELL_WEB_MONITOR_ENABLED=true
|
|
|
|
# Logging Configuration
|
|
NOISEBELL_LOGGING_LEVEL=info
|
|
NOISEBELL_LOGGING_FILE_PATH=logs/noisebell.log
|
|
NOISEBELL_LOGGING_MAX_BUFFERED_LINES=10000
|
|
|
|
# Monitor Configuration
|
|
NOISEBELL_MONITOR_TYPE=web
|
|
|
|
# Endpoint Configuration
|
|
NOISEBELL_ENDPOINT_URL=https://noisebell.jetpham.com/api/status
|
|
NOISEBELL_ENDPOINT_TIMEOUT_SECS=30
|
|
NOISEBELL_ENDPOINT_RETRY_ATTEMPTS=3
|
|
|
|
# API key for endpoint notifications (optional)
|
|
ENDPOINT_API_KEY=your_api_key_here
|