-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 953 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 953 Bytes
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
version: '3'
services:
nodered:
image: nodered/node-red:latest
ports:
- "1880:1880"
volumes:
- nodered_data:/data
restart: unless-stopped
privileged: true
devices:
- "/dev/ttyUSB0:/dev/ttyUSB0"
# Add additional devices as needed
influxdb:
image: influxdb:latest
ports:
- "8086:8086"
volumes:
- influxdb_data:/var/lib/influxdb
restart: unless-stopped
mosquitto:
image: eclipse-mosquitto:latest
ports:
- "1883:1883"
volumes:
- mosquitto_data:/mosquitto
restart: unless-stopped
privileged: true
# If Mosquitto needs access to specific devices, add them here
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
volumes:
- grafana_data:/var/lib/grafana
restart: unless-stopped
volumes:
nodered_data:
influxdb_data:
mosquitto_data:
grafana_data: