forked from opentelekomcloud-infra/api-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (37 loc) · 903 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
version: '3'
services:
executor:
build: ./executor
# image: executor
volumes:
- ./inventory/production/clouds.yaml:/etc/openstack/clouds.yaml:Z
telegraf:
ports:
- "8125:8125/udp"
- "9273:9273"
image: telegraf
volumes:
- ./configs/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro,Z
prometheus:
ports:
- 9090:9090
depends_on:
- telegraf
image: prom/prometheus
volumes:
- ./configs/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro,Z
- prometheus_data:/prometheus:Z
grafana:
ports:
- 3000:3000
depends_on:
- prometheus
image: grafana/grafana
volumes:
- grafana_data:/var/lib/grafana:Z
- ./configs/grafana/provisioning/:/etc/grafana/provisioning/:Z
env_file:
- ./configs/grafana/config.monitoring
volumes:
prometheus_data:
grafana_data: