-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
62 lines (57 loc) · 1.61 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
62
version: "3.7"
services:
jenkins:
build: master
restart: unless-stopped
volumes:
- jenkins_data:/var/jenkins_home
ports:
- '8080:8080'
- '50000:50000'
agent_swarm:
build: slave
entrypoint: java -jar /opt/swarm-client.jar -name agentswarm -username admin -password admin -executors 2
restart: always
depends_on:
- jenkins
sonarqube:
image: sonarqube
volumes:
- sonarqube_conf:/opt/sonarqube/conf
- sonarqube_extensions:/opt/sonarqube/extensions
- sonarqube_logs:/opt/sonarqube/logs
- sonarqube_data:/opt/sonarqube/data
- ./sonarqube/plugins:/opt/sonarqube/extensions/plugins
ports:
- '9000:9000'
restart: always
ulimits:
nofile:
soft: "262144"
hard: "262144"
depends_on:
- jenkins
artifactory:
image: docker.bintray.io/jfrog/artifactory-oss:latest
ports:
- '8081:8081'
depends_on:
- jenkins
volumes:
- /opt/artifactory/:/var/opt/jfrog/artifactory
# Create a folder artifactory with user "artifacroty" and uid 1030
# Add extra Java options by uncommenting the following lines
environment:
- EXTRA_JAVA_OPTIONS=-Xmx3g
restart: always
ulimits:
nproc: 65535
nofile:
soft: 32000
hard: 64440
volumes:
jenkins_data:
sonarqube_conf:
sonarqube_extensions:
sonarqube_logs:
sonarqube_data: