Created
May 23, 2018 20:37
-
-
Save nicosingh/b14b82657ebeacd56eeca12f7536c109 to your computer and use it in GitHub Desktop.
jenkins + artifactory in Docker
This file contains 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
# make sure volumes exist before starting this | |
# mkdir -p {jenkins/volumes/var/jenkins_home,artifactory} | |
jenkins: | |
image: jenkins/jenkins:2.84 | |
restart: always | |
ports: | |
- "80:8080" | |
- "50000:50000" | |
volumes: | |
- ./jenkins/volumes/var/jenkins_home:/var/jenkins_home | |
artifactory: | |
image: docker.bintray.io/jfrog/artifactory-oss:5.0.0 | |
restart: always | |
ports: | |
- "8081:8081" | |
volumes: | |
- "./artifactory:/var/opt/jfrog/artifactory" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment