services: jenkins: 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 volumes: jenkins_home: networks: reverse-proxy: external: true