-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
115 lines (104 loc) · 2.27 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
version: '3.5'
services:
mosquitto:
image: tdmproject/edge-mosquitto
container_name: tdm_mosquitto
volumes:
- ./configs/mosquitto/:/mosquitto/configs/
- ./data/mosquitto/:/mosquitto/data/
- ./logs/mosquitto/:/mosquitto/logs/
networks:
- tdm_edge
restart: always
htu21d:
image: tdmproject/edge-device-handler
container_name: tdm_htu21d
depends_on:
- mosquitto
devices:
- /dev/i2c-1
networks:
- tdm_edge
volumes:
- ./configs/tdm/:/opt/configs/
- /var/run/wpa_supplicant/:/var/run/wpa_supplicant/
restart: always
feinstaub:
image: tdmproject/edge-sfds-handler
container_name: tdm_feinstaub
depends_on:
- mosquitto
ports:
- "8089:5000"
networks:
- tdm_edge
volumes:
- ./configs/tdm/:/opt/configs/
restart: always
iotawatt:
image: tdmproject/edge-iotawatt-handler
container_name: tdm_iotawatt
depends_on:
- mosquitto
ports:
- "8088:5000"
networks:
- tdm_edge
volumes:
- ./configs/tdm/:/opt/configs/
restart: always
emontx:
image: tdmproject/edge-emon433-handler:latest
container_name: tdm_emontx
depends_on:
- mosquitto
networks:
- tdm_edge
devices:
- /dev/ttyAMA0:/dev/ttyS0
volumes:
- ./configs/tdm/:/opt/configs/
restart: always
dispatcher:
image: tdmproject/edge-dispatcher
container_name: tdm_dispatcher
depends_on:
- mosquitto
networks:
- tdm_edge
volumes:
- ./configs/tdm/:/opt/configs/
restart: always
influxdb:
image: influxdb:1.8.6
container_name: tdm_influxdb
environment:
- INFLUXDB_REPORTING_DISABLED=true
networks:
- tdm_edge
volumes:
- influxdb-storage:/var/lib/influxdb
restart: always
grafana:
image: grafana/grafana:6.6.0
container_name: tdm_grafana
ports:
- "80:3000"
user: "104"
networks:
- tdm_edge
depends_on:
- influxdb
volumes:
- influxdb-storage:/data
- grafana-storage:/var/lib/grafana
- grafana-configs:/etc/grafana
restart: always
networks:
tdm_edge:
name: tdm_edge
volumes:
influxdb-storage:
grafana-storage:
grafana-configs:
# vim: ts=2 expandtab