Added SSH Port 8154 (#226)

* Added SSH Port 8154

* Update rancher-compose.yml

* Update docker-compose.yml

* Update rancher-compose.yml
This commit is contained in:
btp 2016-08-26 18:29:46 +02:00 committed by Bill Maxwell
parent c4637677e8
commit c93873ab44
4 changed files with 14 additions and 1 deletions

View File

@ -10,6 +10,7 @@ gocd-server:
- SERVER_MAX_MEM=${mem_max}m - SERVER_MAX_MEM=${mem_max}m
ports: ports:
- ${public_port}:8153 - ${public_port}:8153
- ${ssh_port}:8154
labels: labels:
io.rancher.container.hostname_override: container_name io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: gocd-volume io.rancher.sidekicks: gocd-volume

View File

@ -13,6 +13,12 @@
required: true required: true
default: "8153" default: "8153"
type: "int" type: "int"
- variable: ssh_port
description: "port for remote access of go-agents"
label: "SSH Port"
required: true
default: "8154"
type: "int"
- variable: "mem_initial" - variable: "mem_initial"
description: "Initial java memory in Mb" description: "Initial java memory in Mb"
label: "Initial memory:" label: "Initial memory:"

View File

@ -14,7 +14,7 @@ jenkins-plugins:
jenkins-datavolume: jenkins-datavolume:
image: "busybox" image: "busybox"
volumes: volumes:
- /var/jenkins_home - ${volume_work}:/var/jenkins_home
labels: labels:
io.rancher.container.start_once: true io.rancher.container.start_once: true
entrypoint: ["chown", "-R", "1000:1000", "/var/jenkins_home"] entrypoint: ["chown", "-R", "1000:1000", "/var/jenkins_home"]

View File

@ -10,6 +10,12 @@
description: "Which port should Jenkins listen on?" description: "Which port should Jenkins listen on?"
default: 8080 default: 8080
required: true required: true
- variable: "volume_work"
description: "Work volume to save jenkins data"
label: "Work volume:"
required: true
default: "/var/lib/docker/jenkins-ci"
type: "string"
- variable: "plugins" - variable: "plugins"
type: "multiline" type: "multiline"
label: "List of Plugins" label: "List of Plugins"