-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
41 lines (37 loc) · 957 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
version: "3"
services:
gitlab-exporter:
expose:
- 8081
ports:
- 8081:8081
image: gitlab-exporter_gitlab-exporter:latest
environment:
# It can use both repositories and organization names separated by comma ", "
# eg:
# REPOS=RepoName1, RepoName2
# GROUPS= ORG1, ORG2
- GROUPS=andreip-og1
- GITLAB_TOKEN=
prometheus:
image: docker.io/prom/prometheus:v2.22.2
ports:
- 9090:9090
links:
- gitlab-exporter
volumes:
- ./prometheus/config.yml:/etc/prometheus/prometheus.yml
grafana:
image: docker.io/grafana/grafana:7.3.3
ports:
- 3000:3000
environment:
GF_AUTH_ANONYMOUS_ENABLED: 'true'
GF_INSTALL_PLUGINS: grafana-polystat-panel,yesoreyeram-boomtable-panel
links:
- prometheus
volumes:
- ./grafana/datasources.yml:/etc/grafana/provisioning/datasources/default.yml
networks:
default:
driver: bridge