-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
84 lines (84 loc) · 1.65 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: "2"
volumes:
influxdb_data:
driver: local
chronograf_data:
driver: local
kapacitor_data:
driver: local
grafana_data:
driver: local
services:
influxdb:
image: xiocode/influxdb
ports:
- "18083:8083"
- "18086:8086"
volumes:
- influxdb_data:/var/lib/influxdb/
networks:
- back-tier
telegraf:
image: xiocode/telegraf
depends_on:
- influxdb
ports:
- "18092:8092"
- "18094:8094"
- "18125:8125"
volumes:
- ./telegraf/:/etc/telegraf/
networks:
- back-tier
command:
- "telegraf"
- "-config"
- "/etc/telegraf/telegraf.conf"
- "-config-directory"
- "/etc/telegraf/telegraf.d"
kapacitor:
image: xiocode/kapacitor
depends_on:
- influxdb
ports:
- "19092:9092"
volumes:
- kapacitor_data:/var/lib/kapacitor/
- ./kapacitor/:/etc/kapacitor/
command:
- "kapacitord"
- "-config"
- "/etc/kapacitor/kapacitor.conf"
networks:
- back-tier
chronograf:
image: xiocode/chronograf
depends_on:
- influxdb
ports:
- "18000:10000"
environment:
CHRONOGRAF_BIND: 0.0.0.0:10000
CHRONOGRAF_LOCAL_DATABASE: /data/chronograf.db
volumes:
- chronograf_data:/data/
- ./chronograf/:/etc/chronograf/
networks:
- front-tier
- back-tier
grafana:
image: grafana/grafana
depends_on:
- influxdb
ports:
- "13000:3000"
volumes:
- grafana_data:/var/lib/grafana
networks:
- front-tier
- back-tier
networks:
front-tier:
driver: bridge
back-tier:
driver: bridge