@4me/adsbweb-flight.positions
Required variables
TOP_LEFT (required)
Top left corner of the geographical region queried
Example:
TOP_LEFT=-10.5,51.5
BOTTOM_RIGHT (required)
Bottom right corner
Example:
BOTTOM_RIGHT=10.5,38
CACHE_DURATION (required)
Minimum interval between requests to the provider
Example:
CACHE_DURATION=10
PROVIDER (required)
ADS-B Web Service provider (Supported providers : * opensky => https://opensky-network.org * adsbexchange => https://adsbexchange.com)
Example:
PROVIDER=opensky
Optional variables
PORT
The port the web application will run on
Example:
PORT=4000
Default value:
3000
LOG_PRETTY
Enable/disable human readable logs. JSON logs will be produced otherwise.
Example:
LOG_PRETTY=1
Default value:
process.env.NODE_ENV === 'development'
LOG_LEVEL
Change the log level. Possible values are fatal, error, warn, info, debug or trace.
Example:
LOG_LEVEL=trace
Default value:
process.env.NODE_ENV === 'development' ? 'debug' : 'info'
OPENSKY_USER
OpenSky username for authenticated data retrieval
Example:
OPENSKY_USER=my_opensky_username
OPENSKY_PASSWORD
OpenSky password for authenticated data retrieval
Example:
OPENSKY_PASSWORD=my_opensky_password