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:
|
||||
ports:
|
||||
- 22:22/tcp
|
||||
- 80:80/tcp
|
||||
- ${ssh_port}:22/tcp
|
||||
- ${http_port}:80/tcp
|
||||
- ${https_port}:443/tcp
|
||||
labels:
|
||||
io.rancher.sidekicks: gitlab-data
|
||||
hostname: ${gitlab_hostname}
|
||||
|
@ -13,6 +13,24 @@
|
||||
required: true
|
||||
default: "git.example.com"
|
||||
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:
|
||||
scale: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user