-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (54 loc) · 1.1 KB
/
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
version: "3"
volumes:
mqtt:
driver: "local"
influx:
driver: "local"
grafana:
driver: "local"
services:
grafana:
image: "grafana/grafana:7.2.1"
restart: unless-stopped
ports:
- "3001:3000"
volumes:
- "grafana:/var/lib/grafana"
mqtt:
image: "eclipse-mosquitto:1.6.12"
restart: unless-stopped
ports:
- "1883:1883"
- "9001:9001"
volumes:
- "mqtt:/mosquitto/data"
telegraf:
image: "telegraf:1.15.2"
restart: unless-stopped
depends_on:
- "mqtt"
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
influx:
image: "arm32v7/influxdb:1.8.2"
restart: unless-stopped
ports:
- "8086:8086"
volumes:
- "influx:/var/lib/influxdb"
tempea:
image: "eiabea/tempea-api:arm-latest"
restart: unless-stopped
privileged: "true"
depends_on:
- "influx"
ports:
- "3000:3000"
volumes:
- "./secrets:/src/secrets"
command: [
"wait-for-it.sh", "influx:8086","--timeout=60", "--",
"npm", "start"
]
env_file:
- tempea.env