Skip to content

Instantly share code, notes, and snippets.

@malikperang
Created March 16, 2021 01:33
Show Gist options
  • Save malikperang/03ff39574ba7043e473f8fd0c05571e4 to your computer and use it in GitHub Desktop.
Save malikperang/03ff39574ba7043e473f8fd0c05571e4 to your computer and use it in GitHub Desktop.
Jenkins Docker Compose
# docker-compose.yml
version: '3.7'
services:
jenkins:
image: jenkins/jenkins:lts
privileged: true
user: root
ports:
- 8083:8080
- 50003:50000
container_name: ci-server
volumes:
- ./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