alexellis / eyes-in-the-sky

Instructions and Dockerfiles for tracking flights with your Raspberry Pi and a USB TV stick.
9 stars 11 forks source link

Docker compose'ifying eyes-in-the-sky #2

Closed LoungeFlyZ closed 6 years ago

LoungeFlyZ commented 7 years ago

This PR includes a number changes to make eyes-in-the-sky docker-compose friendly:

  1. move all container configuration to env vars
  2. add suitable docker-compose.yml file
  3. move all configuration to the docker-compose.yml file
  4. updated readme with instructions on using docker-compose on the raspberry pi

Note: The compose currently points to my hub image. This could be changed once the images from the original build were updated to use this new environment based config.

Thanks -Chris

LoungeFlyZ commented 7 years ago

FlightAware moved to not using MAC address anymore. They have a "feeder id" (in the compose yml file) now. Once up and running you can grab the feeder id you have been assigned and update your compose file.

LoungeFlyZ commented 7 years ago

@alexellis i updated the readme on how to set the feeder id in the compose file to ensure it is not seen as a new feeder each time. I don't know how long ago them move to the id vs. the MAC address ... but it confused me for some time and i kept getting new feeders showing up in flightaware until i did some digging and found this was the case.

alexellis commented 6 years ago

Hey @LoungeFlyZ I'm OK with using docker run vs compose for everything - in this use-case it creates more problems than it's worth in my opinion. If you have fixes to updates to the Dockerfiles due to breaking changes etc then I'd be happy to take those.

Feel free to fork the repository and maintain your own compose files.

Thanks for the interest,

Alex

LoungeFlyZ commented 6 years ago

Thanks Alex, yes i have a fork. I added a flight radar 24 feeder to it recently too. Thanks for starting this!

alexellis commented 6 years ago

Please keep in touch via Twitter @alexellisuk or GitHub. Good luck