mirror of
https://github.com/tcivie/meshtastic-metrics-exporter.git
synced 2024-12-28 06:59:46 -08:00
32 lines
970 B
Bash
32 lines
970 B
Bash
# Description: Environment variables for the application
|
|
|
|
# Redis connection details
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
REDIS_DB=0
|
|
REDIS_PASSWORD=
|
|
|
|
# Prometheus connection details
|
|
PROMETHEUS_COLLECTOR_PORT=9464
|
|
PROMETHEUS_JOB=example
|
|
|
|
# MQTT connection details
|
|
MQTT_HOST=172.232.220.244
|
|
MQTT_PORT=1883
|
|
MQTT_USERNAME=israeli
|
|
MQTT_PASSWORD=israeli123
|
|
MQTT_KEEPALIVE=60
|
|
MQTT_TOPIC='msh/israel/#'
|
|
MQTT_IS_TLS=false
|
|
|
|
# Exporter configuration
|
|
## Hide source data in the exporter (default: false)
|
|
MESH_HIDE_SOURCE_DATA=false
|
|
## Hide destination data in the exporter (default: false)
|
|
MESH_HIDE_DESTINATION_DATA=false
|
|
## Filtered ports in the exporter (default: 1, can be a comma-separated list of ports)
|
|
FILTERED_PORTS=0
|
|
## Hide message content in the TEXT_MESSAGE_APP packets (default: true) (Currently we only log message length, if we hide then all messages would have the same length)
|
|
HIDE_MESSAGE=false
|
|
## MQTT server Key for decoding
|
|
MQTT_SERVER_KEY=1PG7OiApB1nwvP+rz05pAQ== |