-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (54 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
54 lines (54 loc) · 1.08 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
version: "3.3"
services:
Jenkins:
image: jenkins/jenkins:lts
container_name: jenkins
ports:
- "8080:8080"
- "8082:8082"
- "8000:8000"
deploy:
replicas: 1
restart_policy:
condition: on-failure
volumes:
- /opt/downloads:/var/downloads
- /opt/jenkins_home:/var/jenkins_home
Tomcat:
image: tomcat:latest
container_name: tomcat
ports:
- "8888:8080"
deploy:
replicas: 1
restart_policy:
condition: on-failure
Mysql:
image: mysql:latest
container_name: mysql
ports:
- "3306:3306"
deploy:
replicas: 1
restart_policy:
condition: on-failure
environment:
MYSQL_ROOT_PASSWORD: H@ckath0n
Sonarqube:
image: sonarqube:latest
container_name: sonarqube
ports:
- "9000:9000"
deploy:
replicas: 1
restart_policy:
condition: on-failure
Nexus:
image: sonatype/nexus3:latest
container_name: nexus
ports:
- "8081:8081"
deploy:
replicas: 1
restart_policy:
condition: on-failure