Skip to content

Docker build for PiAware + dump1090-fa + lighttpd. For Raspberry Pi

Notifications You must be signed in to change notification settings

obstruse/PiAware-Docker

Repository files navigation

dark

PiAware

Docker build of PiAware 9.0 + dump1090-fa + OpenLayers + lighttpd, for Raspberry Pi.

https://github.com/obstruse/PiAware-Docker
https://hub.docker.com/r/obstruse/piaware

Intended for use on LibreELEC(Kodi) with Docker and Portainer addons.

Hardware

Prepare Raspberry Pi

Install LibreELEC

Boot the Pi using LibreELEC from PINN (PINN Is Not NOOBS):

https://sourceforge.net/projects/pinn/

or using the LibreELEC installer:

https://libreelec.tv/downloads/

Enable SSH

  • Kodi main menu -> Add-ons -> LibreELEC Configuration -> Services -> Enable SSH

SSH

Blacklist RTL Kernel Module

  • Connect using SSH and create the blacklist file:
echo 'blacklist dvb-usb-rtl28xxu' > /etc/modprobe.d/blacklist-rtl28xxu.conf
  • Reboot

Install Add-ons:

Install the Docker add-on :

  • Kodi main menu -> Add-ons -> Install from repository

Install from Repo

  • LibreELEC Add-ons -> Services -> Docker

Docker

Install the Portainer add-on:

  • LibreELEC Add-ons -> Add-on Repository -> LinuxServer.io's Docker Add-ons

Docker Repo

  • Kodi main menu -> Add-ons -> Install from repository
  • LinuxServer.io's Docker Add-ons -> Services -> Portainer

Portainer

Install Piaware

Access Portainer at: http:https://192.168.1.12:9000 (replace the IP with the address of your Raspberry Pi)

Dashboard

Add tmpfs Volume

  • Volumes -> Add volume
    • Name: run
    • Driver: local
    • Driver options -> add driver option
      • name: device
      • value: tmpfs
    • Driver options -> add driver option
      • name: type
      • value: tmpfs
    • Driver options -> add driver option
      • name: o
      • value: size=20m,uid=1000
    • Use NFS volume: off
    • Use CIFS volume: off
    • Enable access control: off
  • Click Create the volume

tmpfs

Deploy Container

  • Containers -> Add container
    • Container name: Piaware
    • Image configuration Name: obstruse/piaware
    • Port mapping
      • 8180 -> 8080 (to avoid conflict with Kodi on 8080)
      • 30005 -> 30005 (data in Beast format)
      • 30105 -> 30105 (MLAT data in Beast format)
    • Disable Access control
    • Console: Interactive & TTY
    • Volumes -> map additional volume
      • Container: /run Volume
      • volume: run - local Writable
    • Restart policy: Unless stopped
    • Runtime & Resources: Privileged Mode
  • Click Deploy the container

Container-1 Volumes Restart Policy Resources

The PiAware Skyview web page will be available on port 8180 on your Raspberry Pi; the OpenLayers3 web page will be available on port 8181.

Claim your PiAware client on FlightAware.com

https://flightaware.com/adsb/piaware/claim

Set Location and Height of Site

Go to your stats page:

https://flightaware.com/adsb/stats/user/yourusername

Click on the gear icon to the right of your site name, and configure location and height.

Changing Feeder ID

The feeder ID is assigned when the feeder first connects, and is stored in the PiAware instance. If you redeploy PiAware, a new feeder ID is assigned and will look like a new site on FlightAware. If you want to continue using the same site after redeploying, you need to manually reconfigure the feeder ID.

piaware-config feeder-id
  • Paste the unique identifier.
  • Restart piaware

enroute

About

Docker build for PiAware + dump1090-fa + lighttpd. For Raspberry Pi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published