Created
January 10, 2019 23:56
-
-
Save rms1000watt/ca8806adac748cb972a26c46a8415c96 to your computer and use it in GitHub Desktop.
Jenkins Master & Slave Docker-compose (forgot where I found this originally, but NOT original content)
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: "2" | |
| services: | |
| master: | |
| image: eeacms/jenkins-master | |
| ports: | |
| - "80:8080" | |
| environment: | |
| - JAVA_OPTS=-Xmx2048m | |
| volumes: | |
| - jenkins-master:/var/jenkins_home | |
| worker: | |
| image: eeacms/jenkins-slave | |
| environment: | |
| JAVA_OPTS: "-Xmx2048m" | |
| JENKINS_MASTER: "http://master:8080" | |
| JENKINS_NAME: "worker" | |
| JENKINS_USER: "admin" | |
| JENKINS_PASS: "admin" | |
| JENKINS_RETRY: "10" | |
| volumes: | |
| - jenkins-worker:/var/jenkins_home/worker | |
| volumes: | |
| jenkins-master: | |
| jenkins-worker: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment