-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
42 lines (38 loc) · 921 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
services:
exporter:
build:
context: .
args:
VERSION: development
REVISION: 0000000
ports:
- 9503:9503
env_file:
- scaleway.env
prometheus:
image: prom/prometheus:v2.41.0
volumes:
- ./hack/prometheus/:/etc/prometheus/
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
ports:
- 9090:9090
alertmanager:
image: prom/alertmanager:v0.25.0
depends_on:
- prometheus
ports:
- 9093:9093
grafana:
image: grafana/grafana:9.3.2
depends_on:
- prometheus
ports:
- 3000:3000
env_file:
- hack/grafana/grafana.default
volumes:
- ./hack/grafana/provisioning/:/etc/grafana/provisioning/