-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvironment.config.example
More file actions
executable file
·47 lines (41 loc) · 1.55 KB
/
Copy pathenvironment.config.example
File metadata and controls
executable file
·47 lines (41 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ============================================================================
# environment.config — WHERE IT RUNS
# ============================================================================
# Owned by whoever operates the server. Survives fleet changes and app
# upgrades untouched. Copy to config/environment.config and edit.
# Unset keys fall back to app defaults.
# ============================================================================
[mqtt]
broker = mqtt.bayme.sh
port = 1883
root_topic = msh/US/bayarea/2/e/
# Comma-separated list of channel/modem-preset names to subscribe to. A node
# often comes back up on a different preset after a low-battery reset (e.g.
# LongFast instead of MediumFast) — list every preset your fleet might use.
channel_name = MediumFast, LongFast
# Credentials may also go in secret.config or MQTT_USERNAME/MQTT_PASSWORD env vars
username = meshdev
password = large4cats
[webapp]
host = 0.0.0.0
port = 5103
# Client poll interval in seconds (rate limits auto-scale from this)
api_polling_interval = 10
[alerts]
# SMTP TRANSPORT lives here; alert policy (on/off, cooldown) is site.config
email_from = noreply@example.com
smtp_host = localhost
smtp_port = 25
smtp_ssl = false
# tracker_url = https://buoy.example.com
[debug]
# DEBUG / INFO / WARNING / ERROR
log_level = ERROR
[database]
# Days of measurements to keep (settings and node registry keep forever)
retention_days = 90
[security]
# production disables the localhost auth exemption
environment = production
# Reverse proxy IPs allowed to set X-Forwarded-For
trusted_proxies =