mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-16 20:20:07 +00:00
* feat: add bounded CPU profiling * fix(profiling): defer cooldown-skipped samples and configure triggers
28 lines
769 B
Plaintext
28 lines
769 B
Plaintext
LISTEN_ADDR=:8080
|
|
|
|
# Optional admin bearer key. If set, overrides auth.api_key (even when empty).
|
|
# BEACON_API_KEY=
|
|
|
|
# Optional application logging overrides (defaults: info / text).
|
|
# LOG_LEVEL=info
|
|
# LOG_FORMAT=json
|
|
|
|
POSTGRES_DSN=postgres://beacon:beacon@localhost:5432/beacon?sslmode=disable
|
|
|
|
# Redis (optional — leave REDIS_ADDR unset to disable caching)
|
|
REDIS_ADDR=localhost:6379
|
|
REDIS_PASSWORD=
|
|
REDIS_DB=0
|
|
|
|
MQTT_BROKER_1_URL=wss://mqtt1.meshcore.ca:443
|
|
MQTT_BROKER_1_USERNAME=
|
|
MQTT_BROKER_1_PASSWORD=
|
|
|
|
MQTT_BROKER_2_URL=wss://mqtt2.meshcore.ca:443
|
|
MQTT_BROKER_2_USERNAME=
|
|
MQTT_BROKER_2_PASSWORD=
|
|
|
|
# Optional private CPU captures. Set both; the deadline must be within 72 hours.
|
|
# BEACON_CPU_PROFILE_DIR=/profiles
|
|
# BEACON_CPU_PROFILE_UNTIL=2026-10-02T12:00:00Z
|