Added custom port option (#187)

This commit is contained in:
Marc Argent 2016-06-16 18:21:47 +01:00 committed by Bill Maxwell
parent 8be8a04fe5
commit a22d78a4e4
2 changed files with 27 additions and 21 deletions

View File

@ -1,7 +1,7 @@
jenkins-primary: jenkins-primary:
image: "jenkins:1.642.2" image: "jenkins:1.642.2"
ports: ports:
- "8080:8080" - "${PORT}:8080"
labels: labels:
io.rancher.sidekicks: jenkins-plugins,jenkins-datavolume io.rancher.sidekicks: jenkins-plugins,jenkins-datavolume
io.rancher.container.hostname_override: container_name io.rancher.container.hostname_override: container_name

View File

@ -4,6 +4,12 @@
description: | description: |
Jenkins CI management server. Jenkins CI management server.
questions: questions:
- variable: "PORT"
type: "int"
label: "Port Number"
description: "Which port should Jenkins listen on?"
default: 8080
required: true
- variable: "plugins" - variable: "plugins"
type: "multiline" type: "multiline"
label: "List of Plugins" label: "List of Plugins"