Merge pull request #12 from AlexisDucastel/master
Initial version of GitLab stack
This commit is contained in:
commit
433982a025
9
templates/gitlab/0/README.md
Normal file
9
templates/gitlab/0/README.md
Normal file
@ -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/
|
||||
|
||||
|
23
templates/gitlab/0/docker-compose.yml
Normal file
23
templates/gitlab/0/docker-compose.yml
Normal file
@ -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
|
||||
|
31
templates/gitlab/0/rancher-compose.yml
Normal file
31
templates/gitlab/0/rancher-compose.yml
Normal file
@ -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
|
||||
|
25
templates/gitlab/catalogIcon-gitlab.svg
Normal file
25
templates/gitlab/catalogIcon-gitlab.svg
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="210px" height="194px" viewBox="0 0 210 194" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
|
||||
<!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch -->
|
||||
<title>Group</title>
|
||||
<desc>Created with Sketch.</desc>
|
||||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="Fill-1-+-Group-24" sketch:type="MSLayerGroup">
|
||||
<g id="Group-24" sketch:type="MSShapeGroup">
|
||||
<g id="Group">
|
||||
<path d="M105.0614,193.655 L105.0614,193.655 L143.7014,74.734 L66.4214,74.734 L105.0614,193.655 L105.0614,193.655 Z" id="Fill-4" fill="#E24329"></path>
|
||||
<path id="Fill-6" fill="#FC6D26"></path>
|
||||
<path d="M105.0614,193.6548 L66.4214,74.7338 L12.2684,74.7338 L105.0614,193.6548 Z" id="Fill-8" fill="#FC6D26"></path>
|
||||
<path id="Fill-10" fill="#FC6D26"></path>
|
||||
<path d="M12.2685,74.7341 L12.2685,74.7341 L0.5265,110.8731 C-0.5445,114.1691 0.6285,117.7801 3.4325,119.8171 L105.0615,193.6551 L12.2685,74.7341 Z" id="Fill-12" fill="#FCA326"></path>
|
||||
<path id="Fill-14" fill="#FC6D26"></path>
|
||||
<path d="M12.2685,74.7342 L66.4215,74.7342 L43.1485,3.1092 C41.9515,-0.5768 36.7375,-0.5758 35.5405,3.1092 L12.2685,74.7342 Z" id="Fill-16" fill="#E24329"></path>
|
||||
<path d="M105.0614,193.6548 L143.7014,74.7338 L197.8544,74.7338 L105.0614,193.6548 Z" id="Fill-18" fill="#FC6D26"></path>
|
||||
<path d="M197.8544,74.7341 L197.8544,74.7341 L209.5964,110.8731 C210.6674,114.1691 209.4944,117.7801 206.6904,119.8171 L105.0614,193.6551 L197.8544,74.7341 Z" id="Fill-20" fill="#FCA326"></path>
|
||||
<path d="M197.8544,74.7342 L143.7014,74.7342 L166.9744,3.1092 C168.1714,-0.5768 173.3854,-0.5758 174.5824,3.1092 L197.8544,74.7342 Z" id="Fill-22" fill="#E24329"></path>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
5
templates/gitlab/config.yml
Normal file
5
templates/gitlab/config.yml
Normal file
@ -0,0 +1,5 @@
|
||||
name: Gitlab Community
|
||||
description: |
|
||||
Gitlab CE is a free GitHub alternative
|
||||
version: 8.5.1-0
|
||||
category: Versioning
|
Loading…
x
Reference in New Issue
Block a user