forked from wiedehopf/tar1090
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
40 lines (31 loc) · 1.54 KB
/
Copy path.env.example
File metadata and controls
40 lines (31 loc) · 1.54 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
# Receiver Location Configuration
# Set these to your actual receiver location
# Latitude in decimal degrees
RECEIVER_LAT=-34.9192
# Longitude in decimal degrees (note: LON not LONG)
RECEIVER_LON=138.6027
# Altitude in meters
RECEIVER_ALT=110
# adsb.lol Integration
# Enable fallback to adsb.lol when local feed is unavailable
# The system will prefer local data and only use adsb.lol if local feed fails
ADSBLOL_ENABLED=true
# Radius in nautical miles for adsb.lol queries
# Aircraft within this radius of your receiver location will be fetched
ADSBLOL_RADIUS=40
# User-Agent sent to adsb.lol. They reject missing or generic agents with
# 403 "User-Agent too generic; include valid contact info." Set this to
# something that identifies you and carries a real contact address.
ADSBLOL_USER_AGENT=retina-node/1.0 (+https://github.com/offworldlabs/tar1090-node)
# How long an adsb.lol response may be reused before refetching (ms).
# Also throttles retries while adsb.lol is failing. Consumers project
# positions forward from the payload's own `now`, and blah2-api refuses to
# extrapolate more than 5 s, so keep this comfortably inside that budget.
ADSBLOL_CACHE_TTL_MS=3000
# Upstream request timeout (ms). Must stay below the consumer's HTTP timeout
# (blah2-api uses 5000) so a slow upstream degrades into stale-but-served.
ADSBLOL_TIMEOUT_MS=3000
# How long the last good response keeps being served while adsb.lol is
# failing (ms). Past this the proxy reports source 'none' rather than
# passing off arbitrarily old data as current.
ADSBLOL_MAX_STALE_MS=60000