Update jenkins for external docker use
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
services:
|
||||
jenkins:
|
||||
image: jenkins/jenkins:lts
|
||||
build: .
|
||||
image: jenkins-docker
|
||||
container_name: jenkins
|
||||
restart: always
|
||||
volumes:
|
||||
- jenkins_home:/var/jenkins_home
|
||||
- /run/user/1001/docker.sock:/var/run/docker.sock #rootless
|
||||
environment:
|
||||
- DOCKER_HOST=unix:///var/run/docker.sock #rootless
|
||||
networks:
|
||||
- reverse-proxy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user