* update gitlab to latest version This should refer to the offical docker compose file of gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/docker/docker-compose.yml * added option to select gitlab external_url prefix This is needed so that rancher will put a correct uri scheme prefix to the ${gitlab_hostname} to the external_url. * added external_url prefix honestly i don't know if `${gitlab_omnipus_prefix}${gitlab_hostname}` will work since i cannot test it by myself right now, but imo that should work.... * changed version to latest since image is going to be gitlab/gitlab-ce:latest, the version here inside the readme should reflect this. * update to latest
60 lines
1.5 KiB
YAML
60 lines
1.5 KiB
YAML
.catalog:
|
|
name: Gitlab Community
|
|
version: latest
|
|
description: |
|
|
Gitlab CE is a free GitHub alternative
|
|
minimum_rancher_version: v0.56.0
|
|
maintainer: "Alexis Ducastel <alexis@ducastel.net>"
|
|
uuid: gitlab-0
|
|
questions:
|
|
- variable: "gitlab_hostname"
|
|
description: "Gitlab hostname (without uri scheme http:// or https://)"
|
|
label: "Hostname:"
|
|
required: true
|
|
default: "git.example.com"
|
|
type: "string"
|
|
- variable: "gitlab_omnipus_prefix"
|
|
label: "Gitlab external_url prefix:"
|
|
description: |
|
|
This is needed for the docker-compose file to set the correct external_url
|
|
default: 'https://'
|
|
required: true
|
|
type: "string"
|
|
options:
|
|
- 'https://'
|
|
- 'http://'
|
|
- 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
|
|
retain_ip: true
|
|
health_check:
|
|
port: 80
|
|
interval: 30000
|
|
unhealthy_threshold: 3
|
|
strategy: recreate
|
|
response_timeout: 2000
|
|
healthy_threshold: 2
|
|
|
|
gitlab-data:
|
|
scale: 1
|
|
retain_ip: true
|
|
|