Feeding Plane.watch
If you wish to feed Plane.watch, follow the steps below.
Plane.watch is the end product of a Wouldn't it be cool if? statement. It is an ADS-B aggregation project by members of SDR-Enthusiasts. It is currently completely non-commercial, run by members of the community as a passion project, and backed by an Australian-based Not-for-Profit association.
The docker image ghcr.io/plane-watch/docker-plane-watch
contains the plane.watch feeder software and all of its required prerequisites and libraries. This needs to run in conjunction with ultrafeeder
(or another Beast provider).
plane.watch Feeder Registration
Register for a plane.watch feeder account
Head over to https://atc.plane.watch and sign up for an account.
Create your feeder
Login to https://atc.plane.watch, click on Feeders, + New Feeder. Fill out your details.
When you save your feeder, an API Key will be generated. Take note of this, as it will be required below.
Update .env
file
.env
fileInside your application directory (/opt/adsb
), edit the .env
file using your favourite text editor. Beginners may find the editor nano
easy to use:
This file holds all of the commonly used variables (such as our latitude, longitude and altitude). We're going to add our plane.watch variables to this file. Add the following lines to the file:
Replace
YOURAPIKEY
with the API KEY that was provided the previous step.
For example:
Deploying plane.watch feeder
Open the docker-compose.yml
file that was created when deploying ultrafeeder
.
Append the following lines to the end of the file (inside the services:
section):
To explain what's going on in this addition:
We're creating a container called
planewatch
, from the imageghcr.io/plane-watch/docker-plane-watch:latest
.We're passing several environment variables to the container:
BEASTHOST=ultrafeeder
to inform the feeder to get its ADSB data from the containerultrafeeder
over our privateadsbnet
network.LAT
will use theFEEDER_LAT
variable from your.env
file.LONG
will use theFEEDER_LONG
variable from your.env
file.ALT
will use theFEEDER_ALT_M
variable from your.env
file.TZ
will use theFEEDER_TZ
variable from your.env
file.API_KEY
will use thePW_API_KEY
variable from your.env
file.
We're using
tmpfs
for volumes that have regular I/O. Any files stored in atmpfs
mount are temporarily stored outside the container's writable layer. This helps to reduce:The size of the container, by not writing changes to the underlying container; and
SD Card or SSD wear
Once the file has been updated, issue the command docker compose up -d
in the application directory to apply the changes and bring up the planewatch
container. You should see the following output:
You can see from the output above that the ultrafeeder
container was left alone (as the configuration for this container did not change), and a new container planewatch
was created.
We can view the logs for the environment with the command docker compose logs
, or continually "tail" them with docker compose logs -f
. We should now see logs from our newly created planewatch
container:
After a few minutes, browse to https://atc.plane.watch/. Your feeder should be listed as "online". It can take up to 10 minutes for the status to update.
Advanced
If you want to look at more options and examples for the plane.watch
container, you can find the repository here.
Last updated