This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (73 loc) · 1.88 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: '3'
networks:
front:
driver: bridge
back:
driver: bridge
volumes:
influxdb-varlib:
chronograf-varlib:
chronograf-usrshare:
kapacitor-varlib:
services:
telegraf: # 1 - Telegraf (collection)
build:
context: ./
dockerfile: ./build/Dockerfile-telegraf
hostname: telegraf
#image: telegraf:1.2
networks:
- back
depends_on:
- influxdb
#ports:
#- "8092:8092/udp"
#- "8094:8094"
#- "8125:8125/udp"
influxdb: # 2 - InfluxDB (storage)
# CLI: docker exec -it tempr_influxdb_1 influx
build:
context: ./
dockerfile: ./build/Dockerfile-influxdb
#image: influxdb:1.2
volumes:
- influxdb-varlib:/var/lib/influxdb
networks:
- back
#ports:
#- "8086:8086"
chronograf: # 3 - Chronograf (visualization)
build:
context: ./
dockerfile: ./build/Dockerfile-chronograf
#image: chronograf:0.13
volumes:
- chronograf-varlib:/var/lib/chronograf
- chronograf-usrshare:/usr/share/chronograf
networks:
- back
depends_on:
- influxdb
ports:
- "8888:8888"
kapacitor: # 4 - Kapacitor (processing)
# CLI: docker exec -it tempr_kapacitor_1 bash
image: kapacitor:1.2
environment:
KAPACITOR_HOSTNAME: kapacitor
KAPACITOR_INFLUXDB_0_URLS_0: http://influxdb:8086
volumes:
- kapacitor-varlib:/var/lib/kapacitor
networks:
- back
depends_on:
- influxdb
ports:
- "9092:9092"
telldus:
build:
context: ./telldus/
networks:
- back
depends_on:
- telegraf