-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (42 loc) · 1.07 KB
/
docker-compose.yaml
File metadata and controls
43 lines (42 loc) · 1.07 KB
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
version: '3.3'
services:
pure-fa-om-exporter:
image: quay.io/purestorage/pure-fa-om-exporter:latest
command:
- '--address=0.0.0.0'
- '--port=9490'
depends_on:
- prometheus
ports:
- 9490:9490
restart: on-failure
prometheus:
image: prom/prometheus
command:
- '--storage.tsdb.retention=60d'
- '--storage.tsdb.path=/prometheus'
- '--config.file=/etc/prometheus/prometheus.yml'
volumes:
- prometheus-data:/prometheus
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
restart: on-failure
grafana:
image: grafana/grafana
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin!
depends_on:
- pure-fa-om-exporter
- prometheus
ports:
- 3000:3000
volumes:
- grafana-data:/var/lib/grafana
- ./grafana/datasources:/etc/grafana/provisioning/datasources
- ./grafana/dashboards:/etc/grafana/provisioning/dashboards
restart: on-failure
volumes:
prometheus-data:
grafana-data: