version: '3' services: jenkins: ports: - '8080:8080' - '50000:50000' volumes: - '/your/home:/var/jenkins_home' image: 'jenkins:latest'