Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | parameters: |
Marek Celoud | dd1e6bc | 2017-03-22 16:18:09 +0100 | [diff] [blame] | 2 | _param: |
| 3 | docker_image_jenkins: tcpcloud/jenkins:2.50 |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 4 | docker: |
| 5 | client: |
| 6 | service: |
| 7 | jenkins: |
| 8 | environment: |
| 9 | JAVA_OPTS: "-Djenkins.install.runSetupWizard=false -Dhudson.footerURL=https://www.mirantis.com" |
| 10 | 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 |