Skip to content

Instantly share code, notes, and snippets.

@nolram
Last active December 22, 2017 13:17
Show Gist options
  • Save nolram/61fe090ceccd2172d5e1fc8e70cb28bf to your computer and use it in GitHub Desktop.
Save nolram/61fe090ceccd2172d5e1fc8e70cb28bf to your computer and use it in GitHub Desktop.
Jenkins Compose
version: '3.2'
services:
jenkins:
image: jenkinsci/blueocean
user: root
privileged: true
volumes:
- ~:/home
- jenkins-data:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
- /usr/local/bin/docker-compose:/usr/local/bin/docker-compose
ports:
- "8080:8080"
- "5000:5000"
- "50000:50000"
volumes:
jenkins-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment