Update jenkins for external docker use

This commit is contained in:
2026-01-07 15:18:26 +00:00
parent 66f27a2663
commit 3d12d7eb5f
2 changed files with 25 additions and 1 deletions

View File

@@ -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