saviobatista / 1090merge Goto Github PK
View Code? Open in Web Editor NEWCapture and merge data from multiple ADS-B basestations into a single file on a daily basis
Home Page: https://hub.docker.com/r/saviobatista/1090merge
License: MIT License
Capture and merge data from multiple ADS-B basestations into a single file on a daily basis
Home Page: https://hub.docker.com/r/saviobatista/1090merge
License: MIT License
❯ sudo docker run -it -e HOSTS="localhost" 1090merge
setpgid: Operation not permitted
According to dubiousjim/dcron#13 (comment), the flag --init
should be included on the run command.
Using netcat (nc) has proven failed as when a connection drops this would kill a capture point and stop storing it.
One approach would be create a service that monitor and restart nc command, but this would be over work as there are way more effective ways to be effective in this matter as tcpdump, which is a great approach.
To be improved.
I'm not sure how, but I've been losing some logs. I noticed that the log is not saved to the backup folder, and the adsb.csv file is emptied. So a whole day of log is lost, like June 18th and 21st:
adsb-log_20230614.csv
adsb-log_20230615.csv
adsb-log_20230616.csv
adsb-log_20230617.csv
adsb-log_20230619.csv
adsb-log_20230620.csv
Accordingly to @luciodaou the flag init: true
still required when using docker-compose.
But in my tests I could find any error, this was my stack of tests:
In Ubuntu Server 22.04 LTS, Dockerfile updated as version (commit 5edc4b2), docker-compose.yml with the following:
version: "3.8"
services:
1090merge:
build:
dockerfile: Dockerfile
environment:
- HOSTS=192.168.1.100,192.168.1.101,192.168.1.102
With $ docker compose up
I've got:
[+] Building 0.0s (0/0)
[+] Running 1/0
✔ Container 1090merge-1090merge-1 Recreated 0.1s
Attaching to 1090merge-1090merge-1
1090merge-1090merge-1 | Capturing SBS data from 192.168.1.100
1090merge-1090merge-1 | Capturing SBS data from 192.168.1.101
1090merge-1090merge-1 | Capturing SBS data from 192.168.1.102
1090merge-1090merge-1 | crond 4.5 dillon's cron daemon, started with loglevel notice
^CGracefully stopping... (press Ctrl+C again to force)
Aborting on container exit...
[+] Stopping 1/1
✔ Container 1090merge-1090merge-1 Stopped 10.2s
canceled
(kept running for 5 minutes before Ctrl+C and for obvious reasons the IP were changed for sample data)
With that, @luciodaou can you check --no-cache
and put your details here for debugging?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.