Created
April 14, 2020 15:58
-
-
Save mosesliao/729ab0bbc4ffeafb88d80f017e3fc4ea to your computer and use it in GitHub Desktop.
docker-compose.yml file to run jenkins on localhost
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.7" | |
services: | |
jenkins: | |
container_name: jenkins | |
image: jenkins:latest | |
ports: | |
- "8080:8080" | |
- "50000:50000" | |
volumes: | |
- jenkins:/var/jenkins_home | |
volumes: | |
jenkins: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment