Created
January 23, 2019 05:13
-
-
Save 9bow/bf02885fe24616d3e68afb945a8249e8 to your computer and use it in GitHub Desktop.
Starting Jenkins via docker-compose
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
version: '3.1' | |
services: | |
jenkins: | |
image: jenkinsci/blueocean:latest | |
restart: always | |
ports: | |
- 8080:8080 | |
- 50000:50000 | |
volumes: | |
- /jenkins/data:/var/jenkins_home | |
- /var/run/docker.sock:/var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment