-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
68 lines (67 loc) · 1.45 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
68 lines (67 loc) · 1.45 KB
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
version: "3"
services:
nodered:
build: ./nodered
image: localbuild/nodered:april2021
container_name: nodered
restart: unless-stopped
ports:
- "1880:1880"
volumes:
- noderedData:/data
networks:
- edge
grafana:
build: ./grafana
image: localbuild/grafana:april2021
container_name: grafana
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- grafanaData:/var/lib/grafana
networks:
- edge
influxdb:
build: ./influx
image: localbuild/influxdb:april2021
container_name: influxdb
restart: unless-stopped
environment:
INFLUXDB_DB: DBONE
INFLUXDB_HTTP_AUTH_ENABLED: "true"
INFLUXDB_ADMIN_USER: change
INFLUXDB_ADMIN_PASSWORD: this
INFLUXDB_USER: and_change
INFLUXDB_USER_PASSWORD: this_too
ports:
- "8082:8082"
- "8086:8086"
- "8089:8089"
volumes:
- influxData:/var/lib/influxdb
networks:
- edge
mosquitto:
build: ./mosquitto
image: localbuild/mosquitto:april2021
container_name: mosquitto
restart: unless-stopped
ports:
- "8883:1883"
- "9001:9001"
volumes:
- mosquittoLog:/mosquitto/log
- mosquittoData:/mosquitto/data
networks:
- edge
#Create internal link network for Containers
networks:
edge:
#Create Volumes for persistent Storage
volumes:
grafanaData:
noderedData:
influxData:
mosquittoLog:
mosquittoData: