elewin / pi-weather-station

MIT License
295 stars 60 forks source link

Docker Image - Containerizing Pi Weather Station #36

Closed SeanRiggs closed 1 year ago

SeanRiggs commented 1 year ago

This Docker Image is a containerized application originally built by Eric Elewin. Containerizing his application captures all the dependencies required to make it run. Launching the application in Docker allows for easy deployment!

These Docker images will work on RaspberryPi still but is also built to work on AMD64 infrastructure, depending on the tag you specify of course ;)

Just so you know, the original application was pre-configured to access the application from the hosting machine only. I have modified index.js to allow any machine on the local network to access the application from the web browser. By exposing the app to your entire network, users on that network access the app and retrieve your API keys from the settings page. I use this at home with my family, so I am ok with that risk.

Link to my Docker Hub with images as well: https://hub.docker.com/repository/docker/seanriggs/pi-weather-station