Created
August 9, 2017 15:35
-
-
Save sundbp/9609864c9e0b306a5c6b9e07e9ecdaa7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3' | |
| services: | |
| master: | |
| image: sundbp/jenkins:2.73 | |
| ports: | |
| - 8080:8080 | |
| - 50000:50000 | |
| volumes: | |
| - jenkins_home_vol:/var/jenkins_home | |
| networks: | |
| - services | |
| deploy: | |
| placement: | |
| constraints: [node.hostname == scw-par1-swarm1] | |
| slave: | |
| image: sundbp/jenkins-swarm-slave:3.4 | |
| entrypoint: /bin/bash | |
| command: -c "sleep 100000" #-master http://192.168.24.1:8080/ -executors 6 -labels "docker" -disableSslVerification | |
| networks: | |
| - services | |
| deploy: | |
| mode: global | |
| volumes: | |
| jenkins_home_vol: | |
| external: | |
| name: jenkins_home_vol | |
| networks: | |
| services: | |
| external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment