docker-compose-jenkins.yml
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
jenkins:
|
||||
image: jenkins/jenkins:lts-jdk17
|
||||
container_name: jenkins
|
||||
ports:
|
||||
- "8080:8080"
|
||||
- "50000:50000"
|
||||
volumes:
|
||||
- jenkins_home:/var/jenkins_home
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /opt/shagram:/workspace
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
jenkins_home:
|
||||
Reference in New Issue
Block a user