btp c93873ab44 Added SSH Port 8154 (#226)
* Added SSH Port 8154

* Update rancher-compose.yml

* Update docker-compose.yml

* Update rancher-compose.yml
2016-08-26 12:29:46 -04:00

21 lines
581 B
YAML

jenkins-primary:
image: "jenkins:1.651.3"
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:
- ${volume_work}:/var/jenkins_home
labels:
io.rancher.container.start_once: true
entrypoint: ["chown", "-R", "1000:1000", "/var/jenkins_home"]