-
Notifications
You must be signed in to change notification settings - Fork 254
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 1.35 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
---
version: '3.8'
services:
gitlab-ci-pipelines-exporter:
image: quay.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.10
# You can comment out the image name and use the following statement
# to build the image against the current version of the repository
# build: ../..
ports:
- 8080:8080
environment:
GCPE_GITLAB_TOKEN: ${GCPE_GITLAB_TOKEN}
GCPE_CONFIG: /etc/gitlab-ci-pipelines-exporter.yml
GCPE_INTERNAL_MONITORING_LISTENER_ADDRESS: tcp://127.0.0.1:8082
volumes:
- type: bind
source: ./gitlab-ci-pipelines-exporter.yml
target: /etc/gitlab-ci-pipelines-exporter.yml
prometheus:
image: docker.io/prom/prometheus:v2.44.0
ports:
- 9090:9090
links:
- gitlab-ci-pipelines-exporter
volumes:
- ./prometheus/config.yml:/etc/prometheus/prometheus.yml
grafana:
image: docker.io/grafana/grafana:9.5.2
ports:
- 3000:3000
environment:
GF_AUTH_ANONYMOUS_ENABLED: 'true'
GF_INSTALL_PLUGINS: grafana-polystat-panel,yesoreyeram-boomtable-panel
links:
- prometheus
volumes:
- ./grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/default.yml
- ./grafana/datasources.yml:/etc/grafana/provisioning/datasources/default.yml
- ./grafana/dashboards:/var/lib/grafana/dashboards
networks:
default:
driver: bridge