Docker container running SDR Map's feeder scripts. Designed to work in tandem with sdr-enthusiasts/docker-adsb-ultrafeeder. Builds and runs on x86_64
, arm64
, and arm32v7
.
Please visit feeding for instructions on how to obtain credentials to feed. Once you have credentials (a username and password), you can proceed with setting up the container.
services:
sdrmap:
image: ghcr.io/sdr-enthusiasts/docker-sdrmap:latest
container_name: sdrmap
restart: always
environment:
- TZ=America/New_York
- BEASTHOST=ultrafeeder
- LAT=-33.33333
- LON=111.11111
- ALT=99
- SMUSERNAME=yourusername
- SMPASSWORD=yourpassword
- SEND_SYSINFO=true
- MLAT_PRIVACY=false
tmpfs:
- /tmp
- /run:exec,size=64M
- /var/log
volumes:
- /opt/radiosonde/auto_rx/log:/opt/radiosonde
MLAT is enabled by default. If you want to disable MLAT, you need to set the MLAT
environment variable to false
.
For MLAT to work, make sure to include the ALT
environment variable with the altitude of your antenna in meters. For example, if your antenna is 10 meters above sea level, you would set ALT=10
. If your ALT
parameter is not set, MLAT will not work.
You will want to send mlat results to ultrafeeder using this environment variable:
- MLAT_RESULTS=beast,connect,ultrafeeder:31004
The container also provides MLAT results on port 30105. Alternatively, you could pull these results from the SDRMap container. For Ultrafeeder, this would mean adding a line to the ULTRAFEEDER_CONFIG
parameter like this:
- ULTRAFEEDER_CONFIG=
...
mlathub,sdrmap,30105,beast_in;
Warning
When MLAT is enabled, you station position (rounded to 2 decimals for lat/lon) is shown on the SDRMap website, which means it will be accurate within about 1 km.
If you would rather not show your station position at all, set MLAT_PRIVACY
to true
There are a series of available environment variables:
Environment Variable | Purpose | Default |
---|---|---|
BEASTHOST |
Required. IP/Hostname of a Mode-S/BEAST provider (dump1090/readsb) | |
BEASTPORT |
Optional. TCP port number of Mode-S/BEAST provider (dump1090/readsy) | 30005 |
SMUSERNAME |
Required. The yourusername username provided by SDRMap |
|
SMPASSWORD |
Required. The yourpassword password provided by SDRMap Password |
|
LAT |
Required. Latitude of the antenna | |
LON |
Required. Longitude of the antenna | |
ALT |
For MLAT set the altitude in meters. No trailing m or other values necessary. |
Unset |
TZ |
Optional. Your local timezone | GMT |
MLAT |
Optional. Enable MLAT (true/false) | true |
MLAT_RESULTS |
Optional. Add --results output to mlat-client (example: beast,connect,ultrafeeder:31004) | false |
MLAT_PRIVACY |
Optional. Set to true to hide your station on the SDRMap website | false |
SEND_SYSINFO |
Optional. Set to true to share some system information (CPU, speed, memory use, readsb/mlat-client versions, etc.) with SDRMap. This information may be shown on the SDRMap webpage. | false |
No ports need to be mapped into this container.
If you are running RadioSonde on the same device as this SDRMap
container, then you can easily share RadioSonde data by mapping the RadioSonde logs directory to the SDRMap container. Once mapped, the SDRMap container will automatically detect if there is RadioSonde data to be shared.
For example, if RadioSonde places its logs in /opt/radiosonde/auto_rx/log
, then add the following volume definition to the sdrmap service definition in your docker-compose.yml
file:
volumes:
- /opt/radiosonde/auto_rx/log:/opt/radiosonde
Sharing of AIS data (location of ships and vessels) cannot be done directly with this container. However, if you are using JvdE's AIS-Catcher or the SDR-Enthusiasts' ShipFeeder container, you can easily add it there. Make sure to replace yourusername
and yourpassword
with the credentials that were provided by SDRMap.
-
Using the ShipFeeder container:
- set the following environment parameters for the
shipfeeder
service in yourdocker-compose.yml
file:SDRMAP_STATION_ID=yourusername
SDRMAP_PASSWORD=yourpassword
- set the following environment parameters for the
-
Using
AIS-Catcher
directly:- Add this to the command line:
-H https://ais.feed.sdrmap.org/ USERPWD yourusername:yourpassword GZIP on INTERVAL 15 RESPONSE off
- Or alternatively, follow these instructions if you are using a config file to set your AIS-Catcher parameters
- Add this to the command line:
- All processes are logged to the container's stdout, and can be viewed with
docker logs [-f] container
.
You can log an issue on the project's GitHub.
We also have a Discord server, feel free to join and converse.