-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose-epaper.yml
94 lines (93 loc) · 2.32 KB
/
docker-compose-epaper.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
version: '3.7'
services:
mosquitto:
image: eclipse-mosquitto
container_name: mosquitto
restart: always
volumes:
- ./mosquitto:/mosquitto
ports:
- "1883:1883"
- "9001:9001"
hivemq-mqtt-web-client:
image: koenvervloesem/hivemq-mqtt-web-client
container_name: hivemq-mqtt-web-client
restart: always
volumes:
- ./hivemq-mqtt-web-client/config.js:/var/www/html/config.js
ports:
- "8080:80"
depends_on:
- mosquitto
bt-mqtt-gateway:
image: zewelor/bt-mqtt-gateway
container_name: bt-mqtt-gateway
restart: always
volumes:
- ./bt-mqtt-gateway:/config
# These capabilities are needed for Bluetooth
cap_add:
- NET_ADMIN
- SYS_ADMIN
# The Docker host should have working Bluetooth
network_mode: host
depends_on:
- mosquitto
ruuvitag-epaper:
image: ruuvitag-epaper
container_name: ruuvitag-epaper
restart: always
# Needed for proper timezone handling
volumes:
- /etc/localtime:/etc/localtime
network_mode: host
depends_on:
- mosquitto
# Should be privileged to get GPIO and SPI access
privileged: true
node-red:
image: nodered/node-red
container_name: node-red
restart: always
volumes:
- ./node-red:/data
ports:
- "1880:1880"
environment:
- TZ=Europe/Brussels
# Install node-red-dashboard before starting Node-RED
entrypoint: /bin/bash
command: ["-c", "npm install node-red-dashboard && npm start -- --userDir /data"]
depends_on:
- mosquitto
telegraf:
image: telegraf
container_name: telegraf
restart: always
volumes:
- ./telegraf:/etc/telegraf
depends_on:
- influxdb
- mosquitto
influxdb:
image: influxdb
container_name: influxdb
restart: always
volumes:
- ./influxdb/var:/var/lib/influxdb
ports:
- "8086:8086"
grafana:
# Use :master until Grafana 6.5 is released because it has a fix for ARM
# See https://github.com/grafana/grafana/issues/19585
image: grafana/grafana:master
container_name: grafana
restart: always
volumes:
- ./grafana/dashboards:/var/lib/grafana/dashboards
- ./grafana/provisioning:/etc/grafana/provisioning
ports:
- "3000:3000"
user: "472"
depends_on:
- influxdb