Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Feeds ADS-B data into adsbexchange.com. Designed to work with mikenye/readsb-protobuf.

License

NotificationsYou must be signed in to change notification settings

sdr-enthusiasts/docker-adsbexchange

Repository files navigation

Warning

This repo is archived, and the corresponding container(s) are no longer actively maintained.If you want to feed ADSBExchange via a container, we recommend that you do so using theUltrafeeder container, which can feed ADSBExchange and many more aggregators.

Docker Image Size (tag)Discord

Docker container to feed ADS-B data intoadsbexchange. Designed to work in tandem withsdr-enthusiasts/docker-readsb-protobuf or another BEAST provider. Builds and runs on x86, x86_64, arm32v7 & arm64v8.

The container pulls ADS-B information from a BEAST provider and sends data toadsbexchange.

For more information onadsbexchange, see here:ADSBExchange How-To-Feed. This container uses a modified version of the "script method" outlined on that page.

Supported tags and respective Dockerfiles

  • latest is built from themain branch within 24 hours of a commit to the base image and/or any adsbexchange software included in the image. It contains:
  • latest_nohealthcheck is the same as thelatest version above. However, this version has the docker healthcheck removed. This is done for people running platforms (such asNomad) that don't support manually disabling healthchecks, where healthchecks are not wanted.
  • Specific version and architecture tags are available if required, however these are not regularly updated. It is generally recommended to runlatest.

Configuringsdr-enthusiasts/adsbexchange Container

  • If you're using this container with thesdr-enthusiasts/docker-readsb-protobuf container to provide ModeS/BEAST data, and the containers are on different docker networks or on different hosts:
    • You'll need to ensure you've opened port30005 (or whatever port is serving BEAST data) into thesdr-enthusiasts/docker-readsb-protobuf container.
    • The IP address or hostname of the docker host running thesdr-enthusiasts/docker-readsb-protobuf container should be passed to thesdr-enthusiasts/docker-adsbexchange container via theBEASTHOST environment variable shown below. The port can be changed from the default of30005 with the optionalBEASTPORT environment variable if required.
  • The latitude and longitude of your antenna must be passed via theLAT andLONG environment variables respectively.
  • The altitude of your antenna must be passed via theALT environment variable respectively. Defaults to metres, but units may specified with a 'ft' or 'm' suffix.
  • A UUID for this feeder must be passed via theUUID environment variable (see below).
  • Lastly, you should specify a site name via theSITENAME environment variable. This field supports letters, numbers,- &_ only. Any other characters will be stripped upon container initialization.

Generating a site UUID Number

First-time users should generate a static UUID using this command:

cat /proc/sys/kernel/random/uuid

Take note of the UUID returned. You should pass it as theUUID environment variable when running the container.

You will be able to view your site's stats by visitinghttps://www.adsbexchange.com/api/feeders/?feed=YOUR-UUID-HERE. The link with your UUID will be printed to the container log when the container starts.

Up-and-Running withdocker run

docker run \ -d \ --rm \ --name adsbx \ -e TZ=YOUR_TIMEZONE \ -e BEASTHOST=beasthost \ -e LAT=-33.33333 \ -e LONG=111.11111 \ -e ALT=50m \ -e SITENAME=My_Cool_ADSB_Receiver \ -e UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx \ --tmpfs=/run:rw,nosuid,nodev,exec,relatime,size=64M,uid=1000,gid=1000 \ ghcr.io/sdr-enthusiasts/docker-adsbexchange:latest

Up-and-Running with Docker Compose

First timers are encouraged to readADS-B Reception, Decoding & Sharing with Docker.

An example docker compose service definition is below:

adsbexchange:image:ghcr.io/sdr-enthusiasts/docker-adsbexchange:latestcontainer_name:adsbxrestart:alwaysenvironment:    -BEASTHOST=beasthost    -TZ=Australia/Perth    -LAT=-33.33333    -LONG=111.11111    -ALT=50m    -SITENAME=My_Cool_ADSB_Receiver    -UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxtmpfs:    -/run:rw,nosuid,nodev,exec,relatime,size=64M,uid=1000,gid=1000

Check if everything is working

Runtime Environment Variables

There are a series of available environment variables:

Environment VariablePurposeDefault
BEASTHOSTRequired. IP/Hostname of a Mode-S/BEAST provider (dump1090)
BEASTPORTOptional. TCP port number of Mode-S/BEAST provider (dump1090)30005
UUIDRequired. Your static UUID
LATRequired. The latitude of the antenna
LONGRequired. The longitude of the antenna
ALTRequired. The altitude of the antenna above sea level. If positive (above sea level), must include either 'm' or 'ft' suffix to indicate metres or feet. If negative (below sea level), must have no suffix, and the value is interpreted in metres.
SITENAMERequired. The name of your site (A-Z, a-z,-,_)
TZOptional. Your local timezoneGMT
REDUCE_INTERVALOptional. How often beastreduce data is transmitted to ADSBExchange. For low bandwidth feeds, this can be increased to5 or even100.5
PRIVATE_MLATOptional. Setting this to true will prevent feeder being shown on theADS-B Exchange Feeder Mapfalse
MLAT_INPUT_TYPEOptional. Sets the input receiver type. Rundocker run --rm -it --entrypoint mlat-client ghcr.io/sdr-enthusiasts/docker-adsbexchange:latest --help and see--input-type for valid values.dump1090
STATS_DISABLEOptional. Set to any value to disable stats module / anywhere map (if you don't like lots of DNS lookups, set this to 1)unset
ADSB_FEED_DESTINATION_HOSTNAMEOptional. Allows changing the hostname that ADS-B data is fed to.feed.adsbexchange.com
ADSB_FEED_DESTINATION_PORTOptional. Allows changing the TCP port that ADS-B data is fed to.30005
ADSB_FEED_DESTINATION_TYPEOptional. Allows changing thereadsb output data type.beast_reduce_out
MLAT_FEED_DESTINATION_HOSTNAMEOptional. Allows changing the MLAT server hostname.feed.adsbexchange.com
MLAT_FEED_DESTINATION_PORTOptional. Allows changing the MLAT server TCP port.31090

Ports

PortPurpose
30105MLAT data in Beast format for tools such asgraphs1090 and/ortar1090

Logging

  • All processes are logged to the container's stdout, and can be viewed withdocker logs [-f] container.

Getting help

Please feel free toopen an issue on the project's GitHub.

I also have aDiscord channel, feel free tojoin and converse.

About

Feeds ADS-B data into adsbexchange.com. Designed to work with mikenye/readsb-protobuf.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

[8]ページ先頭

©2009-2025 Movatter.jp