diff --git a/templates/gitlab/0/README.md b/templates/gitlab/0/README.md new file mode 100644 index 0000000..d6b6b7f --- /dev/null +++ b/templates/gitlab/0/README.md @@ -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/ + + diff --git a/templates/gitlab/0/docker-compose.yml b/templates/gitlab/0/docker-compose.yml new file mode 100644 index 0000000..cd62837 --- /dev/null +++ b/templates/gitlab/0/docker-compose.yml @@ -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 + diff --git a/templates/gitlab/0/rancher-compose.yml b/templates/gitlab/0/rancher-compose.yml new file mode 100644 index 0000000..47a9b81 --- /dev/null +++ b/templates/gitlab/0/rancher-compose.yml @@ -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 " + 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 + diff --git a/templates/gitlab/catalogIcon-gitlab.svg b/templates/gitlab/catalogIcon-gitlab.svg new file mode 100644 index 0000000..e0e22ac --- /dev/null +++ b/templates/gitlab/catalogIcon-gitlab.svg @@ -0,0 +1,25 @@ + + + + Group + Created with Sketch. + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/gitlab/config.yml b/templates/gitlab/config.yml new file mode 100644 index 0000000..0ad5c00 --- /dev/null +++ b/templates/gitlab/config.yml @@ -0,0 +1,5 @@ +name: Gitlab Community +description: | + Gitlab CE is a free GitHub alternative +version: 8.5.1-0 +category: Versioning