-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
42 lines (41 loc) · 1.06 KB
/
docker-compose.yaml
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.7'
services:
prometheus:
image: prom/prometheus
ports:
- 9090:9090
volumes:
- ./config/prometheus.yml:/etc/prometheus/prometheus.yml
- ./config/alert_rules.yml:/etc/prometheus/alert_rules.yml
- ./config/recording_rules.yml:/etc/prometheus/recording_rules.yml
- ./config/dynamic_targets.json:/etc/prometheus/dynamic_targets.json
promlens:
image: prom/promlens
ports:
- 8080:8080
alertmanager:
image: prom/alertmanager
ports:
- "9093:9093"
volumes:
- "./alertmanager/alertmanager.yml:/config/alertmanager.yml"
pushgateway:
image: prom/pushgateway
ports:
- 9091:9091
consul-server:
image: hashicorp/consul:1.11.2
restart: always
ports:
- "8500:8500"
- "8600:8600/tcp"
- "8600:8600/udp"
consul-exporter:
image: prom/consul-exporter
ports:
- "9107:9107"
command: --consul.server=consul-server:8500
node-exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node_exporter
restart: unless-stopped