A Docker image which ingests JSON formatted ACARS, VDLM2, and HFDL messages and parses them for position data. Any positions found are output on a TCP port in SBS/Basestation format.
Under active development, everything is subject to change without notice.
Variable | Description | Default |
---|---|---|
JSON_IN |
Semi-colon separated list of host:port entries to connect to for JSON ingest. |
acars_router:15550 |
SBS_OUT |
Semi-colon separated list of host:port entries to connect to for SBS/Basestation output. |
ultrafeeder:12000 |
LOG_FILE |
Set to any value to message text, type, SBS output, and adsbexchange link to files in /log . |
Unset |
LAT |
Latitude of receiver. Only required if MAX_DIST > 0 |
Unset |
LON |
Longitude of receiver. Only required if MAX_DIST > 0 |
Unset |
MAX_DIST |
Set this to a nonzero value to reject parsed positions that are too far away. Only applies to positions parsed from message text. | 0 |
DIST_UNIT |
The unit of the value in MAX_DIST . One of km , m , mi , nmi , ft , in . |
nmi |
SEND_ALL |
Set to any value to send SBS messages for messages without a position. Set to log to also print a log entry for each non-position message. |
Unset |
ACARS_FREQ_AS_SQUAWK , VDLM2_FREQ_AS_SQUAWK , HFDL_FREQ_AS_SQUAWK |
Set to any value to send the received frequency as the squawk value, for each incoming message type. | Unset |
ACARS_FREQ_AS_ALT , VDLM2_FREQ_AS_ALT , HFDL_FREQ_AS_ALT |
Set to any value to send the received frequency as the altitude value, for each incoming message type. | Unset |
services:
acars2pos:
container_name: acars2pos
hostname: acars2pos
image: ghcr.io/rpatel3001/docker-acars2pos
restart: always
environment:
- JSON_IN=planeslxc:15550;planeslxc:15555;planeslxc:15556
- SBS_OUT=adsbpc:12002;adsbpc:12004
- LOG_FILE=true
volumes:
- ./logs:/log