-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (52 loc) · 968 Bytes
/
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
version: '2'
services:
influxdb_data:
image: busybox
volumes:
- ./data/influxdb:/data
influxdb:
image: influxdb:1.0.2
restart: always
volumes_from:
- influxdb_data
environment:
- PRE_CREATE_DB=historian
expose:
- "8090"
- "8099"
ports:
- "8083:8083"
- "8086:8086"
grafana:
build:
context: ./grafana/
dockerfile: Dockerfile
args:
- https_proxy
- http_proxy
- no_proxy
restart: always
depends_on:
- influxdb
links:
- influxdb
environment:
- HTTP_USER=admin
- HTTP_PASS=admin
- http_proxy
- https_proxy
- no_proxy
ports:
- "3000:3000"
telegraf:
depends_on:
- influxdb
image: telegraf:latest
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
links:
- influxdb
expose:
- "8125"
- "8092"
- "8094"