mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-21 13:20:11 +00:00
add READSB_ENABLE_API to readsb startup script / documentation
most of this feature is handled in the docker-tar1090 baseimage
This commit is contained in:
parent
bd6ea02c96
commit
3047cdc910
2 changed files with 5 additions and 0 deletions
|
@ -358,6 +358,7 @@ There are many optional parameters relating to the ingestion of data and the gen
|
||||||
| Variable | Description | Controls which `readsb` option | Default |
|
| Variable | Description | Controls which `readsb` option | Default |
|
||||||
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------- | ------------- |
|
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------- | ------------- |
|
||||||
| `READSB_NET_API_PORT` | <https://github.com/wiedehopf/readsb/blob/dev/README-json.md#--net-api-port-query-formats> | `--net-api-port=<ports>` | `30152` |
|
| `READSB_NET_API_PORT` | <https://github.com/wiedehopf/readsb/blob/dev/README-json.md#--net-api-port-query-formats> | `--net-api-port=<ports>` | `30152` |
|
||||||
|
| `READSB_ENABLE_API` | Adds nginx proxies api at /re-api. Use with extraargs --write-json-globe-index --tar1090-use-api to get fast map with many planes | various | disabled |
|
||||||
| `READSB_NET_BEAST_REDUCE_INTERVAL` | BeastReduce position update interval, longer means less data (valid range: `0.000` - `14.999`) | `--net-beast-reduce-interval=<seconds>` | `1.0` |
|
| `READSB_NET_BEAST_REDUCE_INTERVAL` | BeastReduce position update interval, longer means less data (valid range: `0.000` - `14.999`) | `--net-beast-reduce-interval=<seconds>` | `1.0` |
|
||||||
| `READSB_NET_BEAST_REDUCE_FILTER_DIST` | Restrict beast-reduce output to aircraft in a radius of X nmi | `--net-beast-reduce-filter-dist=<nmi>` | Unset |
|
| `READSB_NET_BEAST_REDUCE_FILTER_DIST` | Restrict beast-reduce output to aircraft in a radius of X nmi | `--net-beast-reduce-filter-dist=<nmi>` | Unset |
|
||||||
| `READSB_NET_BEAST_REDUCE_FILTER_ALT` | Restrict beast-reduce output to aircraft below X ft | `--net-beast-reduce-filter-alt=<ft>` | Unset |
|
| `READSB_NET_BEAST_REDUCE_FILTER_ALT` | Restrict beast-reduce output to aircraft below X ft | `--net-beast-reduce-filter-alt=<ft>` | Unset |
|
||||||
|
|
|
@ -130,6 +130,10 @@ fi
|
||||||
|
|
||||||
READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152}")
|
READSB_CMD+=("--net-api-port=${READSB_NET_API_PORT:-30152}")
|
||||||
|
|
||||||
|
if chk_enabled "${READSB_ENABLE_API}"; then
|
||||||
|
READSB_CMD+=("--net-api-port=unix:/run/readsb/api.sock")
|
||||||
|
fi
|
||||||
|
|
||||||
# Handle "--net-beast-reduce-interval=<seconds>"
|
# Handle "--net-beast-reduce-interval=<seconds>"
|
||||||
# Default it to 0.5 second if no value is provided, which is reasonable for feeding aggregators
|
# Default it to 0.5 second if no value is provided, which is reasonable for feeding aggregators
|
||||||
READSB_CMD+=("--net-beast-reduce-interval=${READSB_NET_BEAST_REDUCE_INTERVAL:-0.5}")
|
READSB_CMD+=("--net-beast-reduce-interval=${READSB_NET_BEAST_REDUCE_INTERVAL:-0.5}")
|
||||||
|
|
Loading…
Reference in a new issue