mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-01 16:48:19 +00:00
adds insert telemetry for observers in ingestion adds new config for observer telemetry, moves packet retention into config for consistency with defaults on load adds cleanup for both packets and observer telemetry
68 lines
1.5 KiB
Plaintext
68 lines
1.5 KiB
Plaintext
# Tower configuration file
|
|
# Copy to config.yaml and adjust as needed.
|
|
|
|
iatas:
|
|
YVR:
|
|
name: Vancouver International
|
|
lat: 49.1967
|
|
lng: -123.1815
|
|
YYJ:
|
|
name: Victoria International
|
|
lat: 48.6469
|
|
lng: -123.4260
|
|
YYC:
|
|
name: Calgary International
|
|
lat: 51.1139
|
|
lng: -114.0200
|
|
YEG:
|
|
name: Edmonton International
|
|
lat: 53.3097
|
|
lng: -113.5797
|
|
YOW:
|
|
name: Ottawa International
|
|
lat: 45.3225
|
|
lng: -75.6692
|
|
YYZ:
|
|
name: Toronto Pearson
|
|
lat: 43.6777
|
|
lng: -79.6248
|
|
|
|
regions:
|
|
- slug: western-canada
|
|
name: Western Canada
|
|
display_order: 1
|
|
center_lat: 51.0
|
|
center_lng: -114.0
|
|
zoom_level: 5
|
|
iatas: [YVR, YYJ, YYC, YEG]
|
|
|
|
- slug: eastern-canada
|
|
name: Eastern Canada
|
|
display_order: 2
|
|
center_lat: 45.0
|
|
center_lng: -75.0
|
|
zoom_level: 5
|
|
iatas: [YOW, YYZ]
|
|
|
|
channel_keys:
|
|
# Hashtag channels: Tower derives the PSK automatically from the tag name.
|
|
# secret = SHA256("#tag")[:16], channel_hash = SHA256(secret)[0]
|
|
# Hashtag names should be provided without the # prefix.
|
|
# Tower prepends # automatically before deriving the key.
|
|
hashtags:
|
|
- meshcore
|
|
|
|
# Explicit keys: provide the channel hash (hex) and key (hex) directly.
|
|
# An optional name can be set for display purposes.
|
|
keys:
|
|
"11":
|
|
key: "8b3387e9c5cdea6ac9e5edbaa115cd72"
|
|
name: "Public"
|
|
|
|
telemetry:
|
|
retention: 672h # 4 weeks
|
|
resolution: 1h # store one snapshot per observer per hour
|
|
|
|
packets:
|
|
retention: 720h # 30 days
|