services: jenkins: image: jenkins/jenkins:2.460 container_name: jenkins privileged: true user: root volumes: - ./jenkins-data:/var/jenkins_home ports: - "8080:8080" - "50000:50000" restart: always volumes: jenkins-data: