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

70 commits

Author SHA1 Message Date
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
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
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
kx1t
ef95e1eff5
bug fix 2024-03-29 17:33:33 -04:00
kx1t
11969ae627 further cleanup 2024-03-29 16:55:15 -04:00
kx1t
dcfdb7ff3e clean up port assignments 2024-03-29 15:30:32 -04:00
kx1t
a407113f1c if no mlat return port is defined in ULTRAFEEDER_CONFIG, then still send results to MLAT-Hub by default 2024-03-29 12:55:39 -04:00
Matthias Wirth
ec6f092418 adsbx stats: more robust way of getting UUID from ultrafeeder_config 2024-03-29 15:04:00 +01:00
Matthias Wirth
66777d5f99 Simplify startup and dependencies
Move startup scripts to /etc/s6-overlay/startup.d
oneshot service named "startup" from underlying image executes
all files in /etc/s6-overlay/startup.d in alphabetical order
Remove various oneshot scripts from longrun service dependencies
Add "startup" oneshot service to longrun service dependencies
2024-03-20 15:16:00 +00:00
Matthias Wirth
916f045f4c replace 03-remove-mlathub-up
03-remove-mlathub-up deletes /run/mlathub_up when the container stops
As this file is created by the mlat-client service, remove it instead in
a finish script for mlat-client which is run when the mlat-client
service is stopped
2024-03-20 15:04:15 +00:00
Matthias Wirth
7beb37b14d replace 02-remove-prometheus-data
02-remove-prometheus-data deletes /run/readsb-prometheus.prom when
the container stops
As this file is created by readsb, remove it instead in a finish script
for readsb which is run when the readsb service is stopped
2024-03-20 13:41:33 +00:00
Matthias Wirth
6f6587f8a6 allow user to customise mlat-client startup stagger delay 2024-03-14 15:50:56 +01:00
Matthias Wirth
9221009a56 use beast_out instead of beast_reduce_out for mlat results 2024-03-14 15:50:56 +01:00
Matthias Wirth
2de1f3eed9 increase beast-reduce flush interval 2024-03-14 15:50:56 +01:00
kx1t
10ca792401
Allow overriding the Prometheus port (#64)
The docs suggest you can do this, but the code does not allow for it.
This fixes that so you can specify your own port.

I've spotted an error in the docs too, MR for that repo will be along
shortly.
2024-02-27 12:13:28 -05:00