forked from mvisonneau/gitlab-ci-pipelines-exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (36 loc) · 1.01 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
---
version: '3.8'
services:
redis:
image: docker.io/bitnami/redis:6.2
ports:
- 6379:6379
environment:
ALLOW_EMPTY_PASSWORD: 'yes'
gitlab-ci-pipelines-exporter-1: &gitlab-ci-pipelines-exporter
image: docker.io/mvisonneau/gitlab-ci-pipelines-exporter:v0.5.2
# 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:
- 8081:8080
links:
- redis
environment:
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
gitlab-ci-pipelines-exporter-2:
<<: *gitlab-ci-pipelines-exporter
ports:
- 8082:8080
gitlab-ci-pipelines-exporter-3:
<<: *gitlab-ci-pipelines-exporter
ports:
- 8083:8080
networks:
default:
driver: bridge