Skip to content

Instantly share code, notes, and snippets.

@xwsg
Last active November 2, 2017 03:02
Show Gist options
  • Save xwsg/8e8c6d55f4c6fca5d1f9b59b4c78dc5e to your computer and use it in GitHub Desktop.
Save xwsg/8e8c6d55f4c6fca5d1f9b59b4c78dc5e to your computer and use it in GitHub Desktop.
jenkins-compose.yml for jenkins
version: '3'
services:
jenkins:
image: jenkins/jenkins:lts
ports:
- "2017:8080"
- "50000:50000"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- /home/jenkins/jenkins_home:/var/jenkins_home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment