This repository was archived by the owner on Jan 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (73 loc) · 1.95 KB
/
docker-compose.yml
File metadata and controls
73 lines (73 loc) · 1.95 KB
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
version: "3.5"
services:
jenkins-master:
depends_on:
- jenkins-python-slave
- jenkins-net-core-slave
- jenkins-helm-slave
- sonarqube
container_name: jenkins-master
image: jenkins/jenkins:lts-alpine
ports:
- "8080:8080"
- "50000:50000"
volumes:
- ~/jenkins-data:/var/jenkins_home
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'
jenkins-python-slave:
build:
context: .
dockerfile: Dockerfile-python-slave
container_name: jenkins-python-slave
ports:
- "2233:2233"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'
jenkins-net-core-slave:
build:
context: .
dockerfile: Dockerfile-net-core-slave
container_name: jenkins-net-core-slave
ports:
- "2244:2233"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
jenkins-helm-slave:
image: jenkins-helm-slave
container_name: jenkins-helm-slave
ports:
- "2255:2233"
volumes:
- /mnt/helms:/mnt/helms:rw
sonarqube:
container_name: sonarqube
image: sonarqube:8.9.2-community
ports:
- "9000:9000"
volumes:
- ~/sonarqube-data:/opt/sonarqube/data
- ~/sonarqube-logs:/opt/sonarqube/logs
- ~/sonarqube-extensions:/opt/sonarqube/extensions
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'
docker-registry:
build:
context: .
dockerfile: Dockerfile-internal-registry
container_name: docker-registry
ports:
- "5000:5000"
environment:
- REGISTRY_AUTH=htpasswd
- REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd
- REGISTRY_AUTH_HTPASSWD_REALM="Registry Realm"
args:
USER=test
PASSWORD=test
volumes:
- ~/docker-registry-data:/var/lib/registry
- '/etc/timezone:/etc/timezone:ro'
- '/etc/localtime:/etc/localtime:ro'