-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy patharm32v7.docker-compose.yml
99 lines (91 loc) · 1.99 KB
/
arm32v7.docker-compose.yml
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
88
89
90
91
92
93
94
95
96
97
98
99
version: '3'
services:
influxdb:
image: influxdb:latest
container_name: influxdb
ports:
- "8083:8083"
- "8086:8086"
- "8090:8090"
environment:
INFLUXDB_DATA_ENGINE: tsm1
INFLUXDB_REPORTING_DISABLED: 'false'
INFLUXDB_DB: SMI
INFLUXDB_USER: telegraf
INFLUXDB_USER_PASSWORD: telegraf
volumes:
- influx_data:/var/lib/influxdb
networks:
- local
telegraf:
image: telegraf:latest
container_name: telegraf
links:
- influxdb
- mqtt
networks:
- local
depends_on:
- mqtt
volumes:
- telegraph_config:/etc/telegraf
grafana:
image: grafana/grafana-arm32v7-linux:latest
container_name: grafana
ports:
- "3000:3000"
environment:
GF_INSTALL_PLUGINS: "grafana-clock-panel,briangann-gauge-panel,natel-plotly-panel,grafana-simple-json-datasource,https://github.com/geeks-r-us/mqtt-panel/releases/download/v1.0.2/geeksrus-mqtt-panel-1.0.2.zip;mqtt-panel"
links:
- influxdb
networks:
- local
volumes:
- grafana_data:/var/lib/grafana
restart: always
chronograf:
image: chronograf:latest
container_name: chronograf
ports:
- "8888:8888"
links:
- influxdb
networks:
- local
restart: always
mqtt:
image: eclipse-mosquitto
container_name: mqtt
ports:
- "1883:1883"
- "9001:9001"
networks:
- local
volumes:
- mqtt_config:/mosquitto/config
restart: always
smimqttgateway:
image: geeksrusde/smi260mqttgateway:latest-arm
container_name: smi260mqttgateway
environment:
- MQTTSERVER=mqtt
- POLL=120
- SMI_LIST=1234,2345
- SUNSTICKPORT=/dev/ttyUSB0
links:
- mqtt
devices:
- /dev/ttyUSB0
depends_on:
- mqtt
networks:
- local
restart: always
volumes:
influx_data:
telegraph_config:
grafana_data:
mqtt_config:
networks:
local:
driver: bridge