Initial version of GitLab stack
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# GitLab CE
|
||||
|
||||
GitLab CE is a free alternative to GitHub
|
||||
|
||||
Stack based on official GitLab version: 8.5.1-ce.0
|
||||
|
||||
https://hub.docker.com/r/gitlab/gitlab-ce/
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
gitlab-server:
|
||||
ports:
|
||||
- 22:22/tcp
|
||||
- 80:80/tcp
|
||||
labels:
|
||||
io.rancher.sidekicks: gitlab-data
|
||||
hostname: ${gitlab_hostname}
|
||||
image: gitlab/gitlab-ce:8.5.1-ce.0
|
||||
volumes_from:
|
||||
- gitlab-data
|
||||
|
||||
gitlab-data:
|
||||
labels:
|
||||
io.rancher.container.start_once: 'true'
|
||||
entrypoint:
|
||||
- /bin/true
|
||||
hostname: gitdata
|
||||
image: gitlab/gitlab-ce:8.5.1-ce.0
|
||||
volumes:
|
||||
- /etc/gitlab
|
||||
- /var/log/gitlab
|
||||
- /var/opt/gitlab
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
.catalog:
|
||||
name: Gitlab Community
|
||||
version: 8.5.1-0
|
||||
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"
|
||||
label: "Hostname:"
|
||||
required: true
|
||||
default: "git.example.com"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user