-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
51 lines (48 loc) · 1.16 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.3"
services:
#datalogger-dl:
#container_name: datalogger-dl
#image: datalogger-dl
#build: ./datalogger-dl
#volumes:
#- ./data:/usr/src/app/data
#environment:
#NATS_URL: nats:4222
#FLUENT_URL: fluentd
#FLUENT_PORT: 24224
#DATA_DIR: ./data
#depends_on:
#- nats
#- fluentd
#- db-connector-node
#restart: unless-stopped
fluentd:
#container_name: fluentd
image: fluent/fluentd
volumes:
- ./fluent.conf:/fluentd/etc/fluent.conf:ro
- ./fluentd:/fluentd/log
ports:
- "24224:24224"
- "24224:24224/udp"
restart: unless-stopped
nats:
#container_name: nats
image: nats
ports:
- "4222:4222"
- "8222:8222"
command: "-D -V -c /etc/nats/nats-server.conf"
#command: "-c /etc/nats/nats-server.conf"
volumes:
- ./nats-server.conf:/etc/nats/nats-server.conf:ro
restart: unless-stopped
mqtt:
#container_name: mqtt
image: eclipse-mosquitto
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
ports:
- "1883:1883"
volumes:
reports: