Skip to content

opatiny/docker-weather-dashboard

Repository files navigation

docker-weather-dashboard

Use node-red to store the weather data of 4 cities in an InfluxDB database and show it in a dashboard.

Dockerization of weather-bot project.

Access the dashboard

The dashboard has been deployed on http://weather.patiny.com.

How to run the project

Clone

git clone https://github.com/opatiny/docker-weather-dashboard

Add your environment variables

Copy the docker-compose.yml.example file to docker-compose.yml and replace the environment variable with your data:

    environment:
      OWM_ID: <your openweathermap appid here>

Start the dashboard

Run the following command:

docker-compose up -d --build

Or use the script if you have node.js:

npm start

Stop the dashboard

Run the following command:

docker-compose down

Or use this script if you have node.js:

npm run stop