Skip to content

Instantly share code, notes, and snippets.

@9bow
Created January 23, 2019 05:13
Show Gist options
  • Save 9bow/bf02885fe24616d3e68afb945a8249e8 to your computer and use it in GitHub Desktop.
Save 9bow/bf02885fe24616d3e68afb945a8249e8 to your computer and use it in GitHub Desktop.
Starting Jenkins via docker-compose
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