jenkins-primary: image: "jenkins:1.642.2" ports: - "${PORT}:8080" labels: io.rancher.sidekicks: jenkins-plugins,jenkins-datavolume io.rancher.container.hostname_override: container_name volumes_from: - jenkins-plugins - jenkins-datavolume entrypoint: /usr/share/jenkins/rancher/jenkins.sh jenkins-plugins: image: rancher/jenkins-plugins:v0.1.1 jenkins-datavolume: image: "busybox" volumes: - /var/jenkins_home labels: io.rancher.container.start_once: true entrypoint: ["chown", "-R", "1000:1000", "/var/jenkins_home"]