-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (43 loc) · 999 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (43 loc) · 999 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
version: "3"
services:
node-red:
build: node-red/.
restart: always
ports:
- "127.0.0.1:1880:1880"
volumes:
- ./node-red/data:/data
user: root
mosquitto:
image: "eclipse-mosquitto:2.0.14"
restart: always
ports:
- 1883:1883
expose:
- 1883
volumes:
- ./mosquitto/data:/mosquitto/data
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
user: root
influxdb:
image: "influxdb:1.8.10"
restart: always
expose:
- 8086
volumes:
- ./influxdb/db:/var/lib/influxdb
- ./influxdb/init:/docker-entrypoint-initdb.d # startup scripts
environment:
INFLUXDB_HTTP_AUTH_ENABLED: "false"
user: root
mongo:
image: "mongo:5.0"
restart: always
expose:
- 27017
environment:
MONGO_INITDB_DATABASE: data
volumes:
- ./mongo/db/:/data/db/
- ./mongo/docker-entrypoint-initdb.d/:/docker-entrypoint-initdb.d/ # startup scripts
user: root