1
0
Fork 0
mirror of https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git synced 2024-12-04 11:40:09 +00:00
Commit graph

143 commits

Author SHA1 Message Date
Matthias Wirth
6098f235fb move the prometheus port to docker-tar1090
this is the logical place as telegraf stuff is defined there as well
2024-11-15 10:41:10 +01:00
kx1t
c76fd5a234 update ADSBX Anywhere map and stats URL scraping 2024-11-14 12:05:03 -05:00
Matthias Wirth
031c3cf7f6 move adsb.lol station map check out of interpret_ultrafeeder_config
this script is sourced by multiple scripts and we only need to do show
the station map URL once

also curl has long maximum timeouts which can block important services
from starting up if there is an issue with adsb.lol or the network / DNS
2024-11-10 18:15:59 +01:00
Matthias Wirth
b3233d66c4 add option to write traces
this was ofc possible before via extra args but now it's simpler
2024-11-01 14:21:09 +01:00
wiedehopf
494d963619
remove spaces from MLAT_USER (#150)
the readme already says not to put spaces but like this mlat will work
even with spaces instead of producing errors
2024-10-09 06:50:22 -04:00
Matthias Wirth
70ceb365bf lower priority for mlat-client
for mlat sync only the decoder talking to the SDR is important
2024-10-04 13:07:05 +02:00
Matthias Wirth
2d9e8fe1e1 adsbx stats lower priority 2024-10-04 12:29:17 +02:00
Matthias Wirth
0447a0cf9c write mlat-client stats json 2024-09-27 15:50:13 +02:00
Matthias Wirth
0ff844d921 add --db-file-lt if db-file is enabled
fixes: https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder/issues/98
2024-09-17 23:15:01 +02:00
wiedehopf
9eed293ad0
use readsb finish script from underlying container (#144)
this finish script overwrote the docker-tar1090 one, omitting the
deletion of /run/readsb
2024-09-17 16:41:49 -04:00
Matthias Wirth
22c4febea0 fixup adsbx stats UUID
in cases where UUID and adsbx specific uuids differ, there was a bug of
UUID_FILE being set to /run/uuid by adsbx-stats script in
/etc/default/adsbexchange-stats
the json-status script should read from
UUID_FILE=/usr/local/share/adsbexchange/adsbx-uuid

just export ADSBX_UUID in adsbx-stats which then invokes
adsbexchange-json-status.
in there use ADSBX_UUID instead of doing the redirect via the UUID file

cleanup the whole configuration file stuff for adsbx-stats, just
customize json-status a bit

also speed up build as build-essential doesn't need to be installed on
the mlat-client baseimage, it already has it
2024-09-04 17:13:56 +02:00
Matthias Wirth
ecc5d80612 adsbexchange-json-status: avoid downloading on container start
this creates a dependency on github plus it executes code from a URL
change it to just have the script in the container
2024-08-16 22:10:52 +02:00
Matthias Wirth
24d7ea7a2c change single occurence of old with-contenv path
this wasn't showing any issues i believe
2024-08-15 22:45:38 +02:00
wiedehopf
de632e4828
stop unneeded s6 services instead of exec sleep inf (#126)
Dockerfile: fix case
2024-08-06 16:42:37 -04:00
Matthias Wirth
e0ac71fd9e readsb: avoid restarts which are too fast
start instantly on first start though
2024-08-05 10:34:14 +02:00
wiedehopf
14361104db
mlathub_enable (#117)
when pushing mlat results into mlat hub, it can be beneficial to have a
env var to explicitely enable it even if no mlat-clients are running in
ultrafeeder
2024-07-26 16:00:51 -04:00
kx1t
b775ea9dc6 move cleanup_globe_history from ultrafeeder container to tar1090 container 2024-07-24 12:29:13 -04:00
wiedehopf
58465dd35d
globe history pruning: be a bit more verbose (#116)
* globe history pruning: be a bit more verbose

also remove empty directories

* README: some location in webinterface hints
2024-07-24 07:28:43 -04:00
kx1t
be5df3e3de
add purging option for globe_history with MAX_GLOBE_HISTORY parameter (#115)
* add AussieADSB registration script

* update readme

* make independent of container run

* update

* update readme

* minor update

* fix typo

* Update aussieadsb.sh

* Update aussieadsb.sh

* Update aussieadsb.sh

* Add netcat-traditional and net-tools to install check

* Update README.md

* Update aussieadsb.sh

* Update aussieadsb.sh

* Dockerfile building optimization

* typo

* typo

* add cleanup_globe_history

* minor update

* better logging
2024-07-23 15:47:06 -04:00
Matthias Wirth
e62e68c144 start mlathub if an mlathub entry is specified in ultrafeeder config 2024-07-20 21:28:13 +02:00
Matthias Wirth
83cc9132cf fix: use chk_enabled to determine if TAR1090_ENABLE_AC_DB is enabled 2024-07-04 19:32:55 +02:00
wiedehopf
e674880ddb
GPSD_DEBUG env var (#106) 2024-06-29 07:47:24 -04:00
kx1t
fc894892bc
Fix 2 bugs
- mlat-client user argument needs to be quoted to avoid splitting usernames with spaces
- name_arg parameter needs to be unset between iterations of the loop
2024-06-17 06:47:36 -04:00
Matthias Wirth
0b10463093 don't immediately start mlat clients when GPSD is configured 2024-06-07 19:28:16 +02:00
Matthias Wirth
372600dfb5 fix mlat-client auto restart when gpsd inactive 2024-06-07 18:30:25 +02:00
Matthias Wirth
6378d30318 update readme for gpsd mlat related vars
enforce limits for gpsd mlat related vars

add readme to change gpsd.socket
2024-06-07 18:16:19 +02:00
Matthias Wirth
342d3fcd75 no_movement_required default / ensure > check interval 2024-06-07 15:56:07 +02:00
Matthias Wirth
e1280accdd move gpsd_mlat_restart into mlat-client scripting
add some wait time for receiver to be stationary
2024-06-07 15:56:07 +02:00
kx1t
04e7707600 make GPS-related restarts faster 2024-06-07 15:56:07 +02:00
kx1t
c03cbdd73b add gpsd directive to the ULTRAFEEDER-CONFIG param; update documentation 2024-06-07 15:56:07 +02:00
kx1t
b0fadb8682 fix issue 2024-06-07 15:56:07 +02:00
kx1t
67e548907d updates 2024-06-07 15:56:07 +02:00
kx1t
5006f66b68 typo 2024-06-07 15:56:07 +02:00
kx1t
2b8ac0b40b add log verbosity 2024-06-07 15:56:07 +02:00
kx1t
02e63838e3 bug fix 2024-06-07 15:56:07 +02:00
kx1t
0420702070 minor addition 2024-06-07 15:56:07 +02:00
kx1t
46b072763d further updates to make GPSD work 2024-06-07 15:56:07 +02:00
kx1t
ca46b9c906 partial mlat-gps feature commit 2024-06-07 15:56:07 +02:00
Matthias Wirth
1b8961ad23 add env var READSB_NET_BR_OPTIMIZE_FOR_MLAT
BeastReduce: Keep messages relevant to mlat-client
enables: --net-beast-reduce-optimize-for-mlat
2024-05-29 17:58:42 +02:00
Matthias Wirth
3f5abd4a47 add readsb automation args
useful to have a second env var to use with automation so the user can
still use READSB_EXTRA_ARGS
2024-05-29 17:49:23 +02:00
kx1t
8aa61a697c make LOGLEVEL interpretation consistent 2024-05-08 10:25:42 -04:00
kx1t
51970b4934 hardened LOGLEVEL param handling 2024-05-08 10:00:36 -04:00
Matthias Wirth
53a27d9401 remove unused infrastructure around /run/mlathub_up 2024-05-07 19:01:05 +02:00
Matthias Wirth
fee8f6320b mlat-client: always use beast connect to send data to mlathub
this eliminates mlathub 'connection failed' messages on container startup
2024-05-07 18:57:56 +02:00
Matthias Wirth
d2d43cc968 prometheus: serve 9274 via nginx instead of ncat 2024-05-01 18:07:42 +02:00
Matthias Wirth
523bc6049e bugfix: fix s6wrap syntax error
s6wrap was previously silently ignoring unknown command line arguments
now it is giving an error
2024-04-29 23:04:51 +02:00
Matthias Wirth
761df76b3a aircraft.csv.gz path changes due to tar1090-update changes 2024-04-14 00:33:50 +02:00
Matthias Wirth
7748ff4de1 adsbx-stats: use exec 2024-04-11 01:04:20 +02:00
kx1t
891952c9f4 update copyright dates 2024-03-29 19:21:45 -04:00
kx1t
34859e6158
Make startup smoother 2024-03-29 17:49:15 -04:00