A web app that displays current conditions, air quality, and a 15-day weather forecast.
63
An Embedded Javascript (EJS) web app using NodeJS-Express scaffolding to call weather API provider for weather reports.
docker pull marknre/techrolemiweatherapp:latestweatherbit.io for a free API_KEY. No credit card is required.https://app.exchangerate-api.com/sign-up for a free API_KEY. No credit card is required.eg. ... -e WEATHERBIT_KEY=XXXXXXX
Note also that Dockerfile exposes port 8080. This needs to be forwarded to a port on your host machine. i.e.
LOCAL_PORT:CONTAINER_PORT for example 4321:8080
Command syntax:
docker run -p 4321:8080 --memory=128m -e \
WEATHERBIT_KEY=Actual_Secret_Key_for_Weatherbit \
EXCHANGE_RATE_APIKEY=Exchange_Secret_Key \
marknre/techrolemiweatherapp:latest
GitHub: https://hurricanemark.github.io/Weather_Report_NodeJS_EJS_Express_WeatherBit_API/
Content type
Image
Digest
sha256:8ab89c7a9…
Size
446.6 MB
Last updated
almost 4 years ago
docker pull marknre/techrolemiweatherapp:5.0