2023-09-16 13:41:48 +02:00
|
|
|
version: '3.2'
|
2023-02-07 16:55:21 +01:00
|
|
|
services:
|
|
|
|
mosquitto:
|
|
|
|
# https://hub.docker.com/_/eclipse-mosquitto
|
|
|
|
image: eclipse-mosquitto:2.0
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 1883:1883
|
2023-02-14 22:59:30 +01:00
|
|
|
volumes:
|
2023-09-16 17:53:00 +02:00
|
|
|
- ../mqtt/mosquitto.conf:/mosquitto/config/mosquitto.conf
|
2023-02-07 16:55:21 +01:00
|
|
|
|
|
|
|
influxdb:
|
|
|
|
# https://hub.docker.com/_/influxdb
|
|
|
|
image: influxdb:2.6
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8086:8086
|
2023-02-28 19:17:41 +01:00
|
|
|
volumes:
|
2023-09-16 13:41:48 +02:00
|
|
|
- influxdb2:/var/lib/influxdb2
|
2023-02-07 16:55:21 +01:00
|
|
|
|
|
|
|
grafana:
|
|
|
|
# https://hub.docker.com/r/grafana/grafana
|
|
|
|
image: grafana/grafana:9.3.6
|
|
|
|
depends_on:
|
|
|
|
- influxdb
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
volumes:
|
2023-09-16 13:41:48 +02:00
|
|
|
- grafana-dashboards:/var/lib/grafana
|
|
|
|
- grafana-data:/data/
|
2023-02-24 15:50:24 +01:00
|
|
|
- ../dashboard/grafana.ini:/etc/grafana/grafana.ini
|
2023-02-07 16:55:21 +01:00
|
|
|
|
|
|
|
nodered:
|
|
|
|
# https://hub.docker.com/r/grafana/grafana
|
|
|
|
# https://nodered.org/docs/getting-started/docker
|
|
|
|
depends_on:
|
|
|
|
- influxdb
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 1880:1880
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
- NODE_RED_ENABLE_PROJECTS=true
|
|
|
|
- FLOWS=flows.json
|
|
|
|
volumes:
|
2023-09-16 13:41:48 +02:00
|
|
|
- nodered-data:/data
|
2023-09-16 14:40:44 +02:00
|
|
|
build: ../flow
|
|
|
|
|
2023-09-16 13:41:48 +02:00
|
|
|
volumes:
|
|
|
|
influxdb2:
|
|
|
|
grafana-dashboards:
|
|
|
|
grafana-data:
|
|
|
|
nodered-data:
|
|
|
|
|