Update 'README.md'
This commit is contained in:
@@ -5,52 +5,6 @@
|
|||||||
### Pre-requisite:
|
### Pre-requisite:
|
||||||
1. Install Docker-desktop using WSL2 from Windows 10+
|
1. Install Docker-desktop using WSL2 from Windows 10+
|
||||||
|
|
||||||
### Install IOT Stack applications MQTT, NodeRed, InfuxDB and Grafana
|
|
||||||
```sh
|
|
||||||
version: "3"
|
|
||||||
services:
|
|
||||||
influxdb:
|
|
||||||
image: influxdb
|
|
||||||
container_name: influxdb
|
|
||||||
ports:
|
|
||||||
- "8086:8086"
|
|
||||||
volumes:
|
|
||||||
- "../influxdb-data:/var/lib/influxdb"
|
|
||||||
|
|
||||||
grafana:
|
|
||||||
image: grafana/grafana
|
|
||||||
container_name: grafana
|
|
||||||
ports:
|
|
||||||
- "3000:3000"
|
|
||||||
user: "0"
|
|
||||||
volumes:
|
|
||||||
- "../grafana-data:/var/lib/grafana"
|
|
||||||
|
|
||||||
node-red:
|
|
||||||
image: nodered/node-red
|
|
||||||
container_name: node-red
|
|
||||||
ports:
|
|
||||||
- "1880:1880"
|
|
||||||
volumes:
|
|
||||||
- "../node-red-data:/data"
|
|
||||||
|
|
||||||
mosquitto:
|
|
||||||
image: eclipse-mosquitto
|
|
||||||
container_name: mosquitto
|
|
||||||
ports:
|
|
||||||
- "1883:1883"
|
|
||||||
- "9001:9001"
|
|
||||||
volumes:
|
|
||||||
- "../mosquitto-data:/mosquitto"
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
influxdb-data:
|
|
||||||
grafana-data:
|
|
||||||
node-red-data:
|
|
||||||
mosquitto-data:
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
### Configurations
|
### Configurations
|
||||||
## InfluxDB config
|
## InfluxDB config
|
||||||
Configuration can be done with the influxdb.env file.
|
Configuration can be done with the influxdb.env file.
|
||||||
|
|||||||
Reference in New Issue
Block a user