blob: b2fdeb6489f719877bfd9dc8bad607fbd0f34526 [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001parameters:
Marek Celouddd1e6bc2017-03-22 16:18:09 +01002 _param:
Filip Pytloun334efdb2017-03-27 20:10:08 +02003 docker_image_jenkins: tcpcloud/jenkins:2.52
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01004 docker:
5 client:
6 service:
7 jenkins:
8 environment:
Filip Pytloune6032e52017-03-28 17:12:29 +02009 JAVA_OPTS: "-Djenkins.install.runSetupWizard=false -Dhudson.DNSMultiCast.disabled=true -Dhudson.udp=-1 -Dhudson.footerURL=https://www.mirantis.com"
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010010 JENKINS_NUM_EXECUTORS: 4
11 restart:
12 condition: any
13 image: ${_param:docker_image_jenkins}
14 ports:
15 - 18081:8080
16 - 50001:50000
17 volume:
18 home:
19 type: bind
20 source: /srv/volumes/jenkins
21 destination: /var/jenkins_home
22 cacerts:
23 type: bind
24 source: /etc/ssl/certs/java/cacerts
25 destination: /etc/ssl/certs/java/cacerts