-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (27 loc) · 868 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (27 loc) · 868 Bytes
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
version: "3"
services:
prometheus:
image: prom/prometheus
command: ['--config.file=/pingprom/prometheus.yml']
ports: ['9090:9090']
volumes:
- ./prometheus:/pingprom/
blackbox:
privileged: true
image: prom/blackbox-exporter
command: ['--config.file=/config/blackbox.yml']
ports: ['9115:9115']
volumes: ['./blackbox.yml:/config/blackbox.yml']
alertmanager:
image: prom/alertmanager
command: ['--config.file=/alertmanager.yml']
ports: ['9093:9093']
volumes: ['./alertmanager.yml:/alertmanager.yml']
grafana: # https://grafana.com/docs/installation/docker/#configuration
image: grafana/grafana
ports: ['3000:3000']
volumes:
- ./grafana:/etc/grafana/provisioning/
environment:
GF_SECURITY_ADMIN_PASSWORD: ${GF_SECURITY_ADMIN_PASSWORD}
GF_AUTH_ANONYMOUS_ENABLED: "true"