Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mosesliao
Created April 14, 2020 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mosesliao/729ab0bbc4ffeafb88d80f017e3fc4ea to your computer and use it in GitHub Desktop.
Save mosesliao/729ab0bbc4ffeafb88d80f017e3fc4ea to your computer and use it in GitHub Desktop.
docker-compose.yml file to run jenkins on localhost
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