-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
88 lines (79 loc) · 1.95 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: "3.3"
#====================#
# Services #
#====================#
services:
#=====================#
# Grafana #
#=====================#
grafana:
container_name: grafana
image: grafana/grafana:10.3.3
restart: unless-stopped
ports:
- "3030:3000"
volumes:
- grafanaData:/var/lib/grafana
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
#=====================#
# Influx #
#=====================#
influxdb:
container_name: influxdb
image: influxdb:latest
restart: unless-stopped
ports:
- "8086:8086"
volumes:
- influxData:/var/lib/influxdb2
- ./influx/config.yml:/etc/influxdb2/config.yml
#=====================#
# Telegraf #
#=====================#
telegraf:
container_name: telegraf
image: telegraf:1.29.5
restart: unless-stopped
ports:
- "8092:8092"
- "8094:8094"
- "8125:8125"
volumes:
- ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf
depends_on:
- influxdb
#=================================#
# Mosquitto MQTT Broker #
#=================================#
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto:2.0.18
restart: unless-stopped
ports:
- "8883:1883"
volumes:
- mosquittoLog:/mosquitto/log
- mosquittoData:/mosquitto/data
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
#=================================#
# Node Red #
#=================================#
nodered:
container_name: nodered
build: ./nodered
image: nodered/node-red:3.1
restart: unless-stopped
ports:
- "1880:1880"
volumes:
- noderedData:/data
- ./nodered/defaultFlows:/data/lib/flows
#====================#
# Volumnes #
#====================#
volumes:
grafanaData:
noderedData:
mosquittoLog:
mosquittoData:
influxData: