Make sure you use to Compose V2 with the docker compose CLI plugin or by activating the Use Docker Compose V2 setting in Docker Desktop.
Clone the project
git clone https://github.com/roshnaeem/JavaInfluxDBExample.git
Navigate to the project directory
cd JavaInfluxDBExample
Start the services
docker-compose up
Services can be accessed at follwing ports:
- InfluxDB: http://localhost:8086/
- Grafana: http://localhost:3000/
- Nodered: http://localhost:1880/
InfluxDB: http://localhost:8086/
InfluxDB Username: roshnaeem
InfluxDB Password: smart_home_iot
Grafana: http://localhost:3000/
Grafana Username: admin
Grafana Password: admin
Go to "Smart Building" Dashboard in the dashboards section.
Docker Image: eclipse-mosquitto
Docker Image: influxdb:2.1.1
Telegraf Image: telegraf:1.19
Grafana image: grafana/grafana-oss:8.4.3
Nodered image: nodered:v1.2.0