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
ports:
- ${public_port}:8153
- ${ssh_port}:8154
labels:
io.rancher.container.hostname_override: container_name
io.rancher.sidekicks: gocd-volume

View File

@ -13,6 +13,12 @@
required: true
default: "8153"
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"
description: "Initial java memory in Mb"
label: "Initial memory:"

View File

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

View File

@ -10,6 +10,12 @@
description: "Which port should Jenkins listen on?"
default: 8080
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"
type: "multiline"
label: "List of Plugins"