-
Notifications
You must be signed in to change notification settings - Fork 91
/
docker-compose.yml
61 lines (54 loc) · 1.42 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: '3.4'
services:
app-dsv:
build: .
image: localhost:5000/jenkins-pipeline-example:dsv
container_name: app-dsv
ports:
- 8081:8081
app-uat:
build: .
image: localhost:5000/jenkins-pipeline-example:uat
container_name: app-uat
ports:
- 8085:8085
environment:
- SPRING_PROFILES_ACTIVE=uat
app-prd:
build: .
image: localhost:5000/jenkins-pipeline-example:prd
container_name: app-prd
ports:
- 8090:8090
environment:
- SPRING_PROFILES_ACTIVE=prd
docker-registry:
image: registry:2
container_name: docker-registry
ports:
- 5000:5000
jenkins:
build: custom-dockerfiles/jenkins-as-code-scaffold
container_name: jenkins
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8080:8080
- 50000:50000
environment:
- JAVA_OPTS=-Djenkins.install.runSetupWizard=false -Dhudson.model.DirectoryBrowserSupport.CSP="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';
sonar:
build: custom-dockerfiles/sonarqube
container_name: sonarqube
ports:
- 9000:9000
- 9092:9092
environment:
- JAVA_OPTS=-Dsonar.forceAuthentication=false
chrome:
image: selenium/standalone-chrome:4.0.0-rc-1-prerelease-20210713
container_name: chrome
shm_size: 2gb
ports:
- "7900:7900"
- "4444:4444"