-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (46 loc) · 1.29 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
52
version: '2.0'
services:
influxdb:
image: influxdb:1.8.4-alpine
container_name: influxdb
ports:
- 4286:8086
volumes:
# - D:\Users\TOS\docker\volumes\influxdb:/var/lib/influxdb
- /volume1/docker/influxdb:/var/lib/influxdb
networks:
- net
ui:
image: chronograf:1.8.8-alpine
container_name: chronograf
ports:
- 4288:8888
networks:
- net
volumes:
- /volume1/docker/chronograf:/var/lib/chronograf
command: chronograf --influxdb-url=http://influxdb:8086
telegraf:
image: telegraf:1.17.3-alpine
container_name: telegraf
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./telegraf/telegraf.conf:/telegraf.conf
command: telegraf --config ./telegraf.conf
networks:
- net
mosquitto:
image: eclipse-mosquitto:2.0.8
container_name: mqtt
volumes:
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
- ~/docker/secrets/mqtt:/run/secrets:ro
ports:
- 1883:1883
command: /usr/sbin/mosquitto -c /mosquitto/config/mosquitto.conf
networks:
- net
networks:
net:
driver:
bridge