forked from samuelchiang/auto_tank
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·51 lines (51 loc) · 1.07 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
version: '3.7'
services:
mqtt:
image: eclipse-mosquitto
ports:
- 1883:1883
deploy:
replicas: 1
networks:
- net1
volumes:
- ./mosquitto/config:/mosquitto/config/
nodered:
image: nodered/node-red:latest
ports:
- 1880:1880
environment:
- TZ=Asia/Taipei
deploy:
replicas: 1
networks:
- net1
volumes:
- node-red-data:/data
influxdb:
image: influxdb
ports:
- 8086:8086
deploy:
replicas: 1
networks:
- net1
volumes:
- influxdb:/var/lib/influxdb
- ./influxdb/influxdb.conf:/etc/influxdb/influxdb.conf:ro
grafana:
image: grafana/grafana
ports:
- 3000:3000
deploy:
replicas: 1
networks:
- net1
volumes:
- grafana-storage:/var/lib/grafana
networks:
net1:
volumes:
influxdb:
grafana-storage:
node-red-data: