Add more port flexibility to gitlab (#335)
* added questions to alter the default ports * Implemented port variability
This commit is contained in:
parent
32dc037970
commit
08a8804bc4
@ -1,7 +1,8 @@
|
|||||||
gitlab-server:
|
gitlab-server:
|
||||||
ports:
|
ports:
|
||||||
- 22:22/tcp
|
- ${ssh_port}:22/tcp
|
||||||
- 80:80/tcp
|
- ${http_port}:80/tcp
|
||||||
|
- ${https_port}:443/tcp
|
||||||
labels:
|
labels:
|
||||||
io.rancher.sidekicks: gitlab-data
|
io.rancher.sidekicks: gitlab-data
|
||||||
hostname: ${gitlab_hostname}
|
hostname: ${gitlab_hostname}
|
||||||
|
@ -13,6 +13,24 @@
|
|||||||
required: true
|
required: true
|
||||||
default: "git.example.com"
|
default: "git.example.com"
|
||||||
type: "string"
|
type: "string"
|
||||||
|
- variable: "http_port"
|
||||||
|
description: "HTTP port to expose on host. Will be used to bind TCP"
|
||||||
|
label: "HTTP port:"
|
||||||
|
required: true
|
||||||
|
default: 80
|
||||||
|
type: "string"
|
||||||
|
- variable: "https_port"
|
||||||
|
description: "HTTPS port to expose on host. Will be used to bind TCP"
|
||||||
|
label: "HTTPS port:"
|
||||||
|
required: true
|
||||||
|
default: 443
|
||||||
|
type: "string"
|
||||||
|
- variable: "ssh_port"
|
||||||
|
description: "SSH port to expose on host. Will be used to bind TCP"
|
||||||
|
label: "SSH port:"
|
||||||
|
required: true
|
||||||
|
default: 22
|
||||||
|
type: "string"
|
||||||
|
|
||||||
gitlab-server:
|
gitlab-server:
|
||||||
scale: 1
|
scale: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user