-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 958 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (34 loc) · 958 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
32
33
34
35
36
37
version: "3"
services:
prometheus:
image: prom/prometheus
command:
- "--web.listen-address=:9090"
- "--config.file=/etc/prometheus/prometheus.yml"
- "--web.console.templates=/etc/prometheus/consoles"
- "--web.console.libraries=/etc/prometheus/console_libraries"
depends_on:
- pushgateway
ports:
- 9090:9090
volumes:
- ./docker/prometheus/prometheus.yml/:/etc/prometheus/prometheus.yml
pushgateway:
image: prom/pushgateway
command:
- "--web.listen-address=:9191"
- "--push.disable-consistency-check"
- "--persistence.interval=5m"
ports:
- 9191:9191
grafana:
image: grafana/grafana
depends_on:
- prometheus
ports:
- 3000:3000
volumes:
- ./docker/grafana/datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
- GF_USERS_ALLOW_SIGN_UP=false