-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
92 lines (83 loc) · 2.64 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: monitor
services:
prometheus:
image: prom/prometheus
restart: always
ports:
- "9090:9090"
volumes:
- "./config/prometheus:/etc/prometheus:ro"
- prometheus-storage:/prometheus
depends_on:
- alertmanager
env_file: config/prometheus/env
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
# --web.enable-lifecycle enables reloading new config, see: https://prometheus.io/docs/operating/security/
# all other flags are as in https://github.com/prometheus/prometheus/blob/master/Dockerfile
- '--web.enable-lifecycle'
- '--web.external-url=https://bots.dide.ic.ac.uk/prometheus'
alertmanager:
image: prom/alertmanager
restart: always
volumes:
- "./config/alertmanager:/etc/alertmanager:ro"
- alertmanager-storage:/alertmanager
ports:
- "9093:9093"
command:
- '--config.file=/etc/alertmanager/alertmanager.yml'
- '--web.external-url=https://bots.dide.ic.ac.uk/alertmanager'
# Two weeks of data rentention: this is necessary to support long repeat
# intervals for alerts.
- '--data.retention=336h'
buildkite_metrics:
image: reside/buildkite-agent-metrics
restart: always
env_file: config/buildkite.env
command:
- '-backend=prometheus'
- '-interval=30s'
grafana:
image: grafana/grafana-oss
restart: unless-stopped
ports:
- '3000:3000'
volumes:
- grafana-storage:/var/lib/grafana
- ./config/grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml:ro
- ./config/grafana/grafana.ini:/etc/grafana/grafana.ini:ro
rrq-dashboard:
image: mrcide/rrq.dashboard:main
restart: unless-stopped
ports:
- '8888:8888'
environment:
REDIS_URL: wpia-hn.hpc.dide.ic.ac.uk
blackbox-exporter:
image: quay.io/prometheus/blackbox-exporter:latest
restart: unless-stopped
proxy:
image: nginx
restart: unless-stopped
volumes:
- ./config/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./config/nginx/certificate.pem:/run/proxy/certificate.pem:ro
- ./config/nginx/key.pem:/run/proxy/key.pem:ro
- ./config/nginx/dhparam.pem:/run/proxy/dhparam.pem:ro
ports:
- '80:80'
- '443:443'
redis-exporter:
image: oliver006/redis_exporter
restart: unless-stopped
github-exporter:
build: github-exporter
restart: unless-stopped
volumes:
grafana-storage: {}
prometheus-storage: {}
alertmanager-storage: {}