forked from tanmaymodi/devops-tools-bootstrap-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (51 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
56 lines (51 loc) · 1.07 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
version: '3'
services:
jenkins:
container_name: jenkins
image: jenkins/jenkins:lts
ports:
- "8080:8080"
volumes:
- jenkins_home:/var/jenkins_home
networks:
- ci_network
user: root
sonarqube:
container_name: sonar
image: sonarqube:latest
ports:
- "9000:9000"
- "9092"
# - "9092:9092"
volumes:
- sonarqube_data:/opt/sonarqube/data
- sonarqube_extensions:/opt/sonarqube/extensions
- sonarqube_logs:/opt/sonarqube/logs
- sonarqube_conf:/opt/sonarqube/conf
deploy:
restart_policy:
condition: on-failure
networks:
- ci_network
nexus:
container_name: nexus
image: sonatype/nexus3
environment:
- JAVA_OPTS="-Dnexus.repository.upload.maxSize=500MB"
ports:
- "8081:8081"
volumes:
- nexus_data:/nexus-data
networks:
- ci_network
# command: ["-n", "65536"]
networks:
ci_network:
driver: bridge
volumes:
jenkins_home:
nexus_data:
sonarqube_data:
sonarqube_extensions:
sonarqube_logs:
sonarqube_conf: