Skip to content

sdr-enthusiasts/docker-planefinder

Repository files navigation

sdr-enthusiasts/docker-planefinder

Docker Image Size (tag) Discord

Docker container running PlaneFinder's's pfclient. Designed to work in tandem with sdr-enthusiasts/docker-adsb-ultrafeeder. Builds and runs on x86_64, arm64 and arm32v7 (see below).

pfclient pulls ModeS/BEAST information from a host or container providing ModeS/BEAST data, and sends data to PlaneFinder.

For more information on what pfclient is, see here: https://planefinder.net/sharing/client.

Supported tags and respective Dockerfiles

Obtaining a PlaneFinder Share Code

First-time users should obtain a PlaneFinder Share Code by visiting this page: https://planefinder.net/sharing/create-sharecode

If you're not a first time user and are migrating from another installation, you can retrieve your sharing key by logging into your planefinder.net account, and going to "Your Receivers".

Up-and-Running with docker run

docker run \
 -d \
 --rm \
 --name pfclient \
 -p 30053:30053 \
 -e TZ="YOURTIMEZONE" \
 -e BEASTHOST=YOURBEASTHOST \
 -e LAT=YOURLATITUDE \
 -e LONG=YOURLONGITUDE \
 -e SHARECODE=YOURSHARECODE \
 ghcr.io/sdr-enthusiasts/docker-planefinder:latest

You should obviously replace YOURBEASTHOST, YOURLATITUDE, YOURLONGITUDE and YOURSHARECODE with appropriate values.

For example:

docker run \
 -d \
 --rm \
 --name pfclient \
 -p 30053:30053 \
 -e TZ="Australia/Perth" \
 -e BEASTHOST=ultrafeeder \
 -e LAT=-33.33333 \
 -e LONG=111.11111 \
 -e SHARECODE=zg84632abhf231 \
 ghcr.io/sdr-enthusiasts/docker-planefinder:latest

Up-and-Running with Docker Compose

services:
  pfclient:
    image: ghcr.io/sdr-enthusiasts/docker-planefinder:latest
    container_name: pfclient
    restart: always
    ports:
      - 30053:30053
    environment:
      - TZ=Australia/Perth
      - BEASTHOST=readsb
      - LAT=-33.33333
      - LONG=111.11111
      - SHARECODE=zg84632abhf231

Claiming Your Receiver

Once your container is up and running, you should claim your receiver.

  1. Go to https://www.planefinder.net/
  2. Create an account and/or sign in
  3. Go to "Account" > "Manage Receivers"
  4. Click "Add receiver" and enter your share code when prompted

Runtime Environment Variables

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
SHARECODE Required. PlaneFinder Share Code
LAT Required. Latitude of the antenna
LONG Required. Longitude of the antenna
TZ Optional. Your local timezone GMT
RADAR_STICK Use planefinder radar stick false
RADAR_STICK_DEVICE planefinder radar stick device address /dev/ttyUSB0

Ports

The following ports are used by this container:

  • 30053 - pfclient web GUI. Suggest mapping this port for the web GUI.
  • 30054 - pfclient "echo port". Suggest leaving this port unmapped.
  • 30055 - pfclient beast output when using radar stick

Plane Finder Radar Stick

To use the radar stick, add this to the compose yml:

    device_cgroup_rules:
      # serial devices
      - 'c 188:* rwm'
    volumes:
      - /dev:/dev:ro

Also add RADAR_STICK=true to the environment variables in the yml.

Logging

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

Getting Help

You can log an issue on the project's GitHub.

I also have a Discord channel, feel free to join and converse.

About

PlaneFinder pfclient, multi-architecture (x86_64, arm32v7, arm64)

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 6