Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save englandbaron/4ff0be8f918594ad5a1abebf61248e48 to your computer and use it in GitHub Desktop.
Save englandbaron/4ff0be8f918594ad5a1abebf61248e48 to your computer and use it in GitHub Desktop.
docker-compose jenkins
version: '2'
services:
web:
image: jenkins/jenkins:lts
ports:
- "5000:5000"
- "9091:8080"
user: root
command: bash -c "apt update && apt -y install python-pip"
restart: always
volumes:
- ${PWD}/jenkins_container_data:/var/jenkins_home
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment