Fix docker-compose-jenkins.yml

This commit is contained in:
emil28092005
2026-01-16 08:50:53 +03:00
parent 5895990cbb
commit acede2104a
+7 -1
View File
@@ -1,3 +1,5 @@
version: '3.8'
services:
jenkins:
image: jenkins/jenkins:lts-jdk17
@@ -8,8 +10,12 @@ services:
volumes:
- jenkins_home:/var/jenkins_home
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
- /opt/shagram:/workspace
environment:
- DOCKER_HOST=unix:///var/run/docker.sock
user: root
restart: unless-stopped
volumes:
jenkins_home:
jenkins_home: