blob: acea08b841e9207f69797311e0226832f98e9ef3 [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
2 _param:
3 docker_image_jenkins: tcpcloud/jenkins:2.52
4 docker:
5 client:
6 stack:
7 jenkins:
8 environment:
9 JAVA_OPTS: "-Djenkins.install.runSetupWizard=false -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1 -Dhudson.footerURL=https://www.mirantis.com"
10 JENKINS_NUM_EXECUTORS: 4
11 service:
12 master:
13 deploy:
14 restart_policy:
15 condition: any
16 image: ${_param:docker_image_jenkins}
17 ports:
18 - 18081:8080
19 - 50001:50000
20 volumes:
21 - /srv/volumes/jenkins:/var/jenkins_home
22 - /etc/ssl/certs/java/cacerts:/etc/ssl/certs/java/cacerts:ro