-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
47 lines (42 loc) · 1.04 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
---
version: "3"
networks:
tig:
services:
influxdb:
container_name: influxdb
ports:
- 8086:8086
- 8083:8083
networks:
- tig
image: influxdb:1.8.0
telegraf:
container_name: telegraf
image: telegraf:9ed9a632
networks:
- tig
volumes:
- $PWD/telegraf.conf:/etc/telegraf/telegraf.conf:ro
- $PWD/telegraf.d:/etc/telegraf/telegraf.d
command: ["telegraf", "--config-directory", "/etc/telegraf/telegraf.d"]
depends_on:
- influxdb
grafana:
container_name: grafana
environment:
GF_SECURITY_ADMIN_USER: arista
GF_SECURITY_ADMIN_PASSWORD: arista
GF_INSTALL_PLUGINS: natel-discrete-panel
GF_PATHS_PROVISIONING: /etc/grafana/provisioning
ports:
- '3000:3000'
networks:
- tig
image: grafana/grafana:7.0.3
volumes:
- $PWD/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml:ro
- $PWD/dashboards.yaml:/etc/grafana/provisioning/dashboards/dashboards.yaml:ro
- $PWD/dashboards:/var/tmp/dashboards
depends_on:
- influxdb