-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 1009 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 1009 Bytes
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
services:
jenkins:
build:
context: .
dockerfile: Dockerfile
container_name: jenkins-k6-prometheus-grafana
ports:
- "8080:8080"
- "50000:50000"
volumes:
- jenkins_home:/var/jenkins_home
networks:
- k6-test-net
prometheus:
image: prom/prometheus:v2.48.0
container_name: prometheus
ports:
- "9090:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--enable-feature=remote-write-receiver"
- "--storage.tsdb.retention.time=15d"
- "--storage.tsdb.retention.size=2GB"
networks:
- k6-test-net
grafana:
image: grafana/grafana:10.2.2
container_name: grafana
ports:
- "3000:3000"
volumes:
- grafana-storage:/var/lib/grafana
networks:
- k6-test-net
networks:
k6-test-net: {}
volumes:
grafana-storage:
prometheus-data:
jenkins_home: