summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/gitlab-ce.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 20:02:16 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 20:03:15 -0400
commit0e70ec541e7441b71460db230975d4614473ed6d (patch)
tree6e8bafcd18f41d09bc893dc75f36398a0c1f7dde /public/v4/apps/gitlab-ce.yml
parent83103a180914dff274188594132c1395f12a1645 (diff)
downloadcaprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.tar.gz
caprover-one-click-apps-0e70ec541e7441b71460db230975d4614473ed6d.zip
migrate to v4
Diffstat (limited to 'public/v4/apps/gitlab-ce.yml')
-rw-r--r--public/v4/apps/gitlab-ce.yml47
1 files changed, 47 insertions, 0 deletions
diff --git a/public/v4/apps/gitlab-ce.yml b/public/v4/apps/gitlab-ce.yml
new file mode 100644
index 0000000..f042756
--- /dev/null
+++ b/public/v4/apps/gitlab-ce.yml
@@ -0,0 +1,47 @@
+captainVersion: 4
+services:
+ $$cap_appname:
+ image: gitlab/gitlab-ce:$$cap_gitlab_version
+ volumes:
+ - "$$cap_appname-config: /etc/gitlab"
+ - "$$cap_appname-logs: /var/log/gitlab"
+ - "$$cap_appname-data: /var/opt/gitlab"
+ restart: always
+ environment:
+ GITLAB_OMNIBUS_CONFIG: $$cap_gitlab_omnibus_config
+ caproverExtra:
+ containerHttpPort: "80"
+caproverOneClickApp:
+ variables:
+ - id: $$cap_gitlab_version
+ label: Gitlab-CE Version Tag
+ description: Check out their Docker page for the valid tags https://hub.docker.com/r/gitlab/gitlab-ce/tags
+ defaultValue: 11.9.8-ce.0
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_gitlab_omnibus_config
+ label: Omnibus Config (Optional)
+ description: "More information here: https://docs.gitlab.com/omnibus/docker/#pre-configure-docker-container"
+ instructions:
+ start: >-
+ GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security.
+
+ More about this container:
+ https://hub.docker.com/r/gitlab/gitlab-ce/
+
+ Hardware and Software requeriments can be found here:
+ https://docs.gitlab.com/ce/install/requirements.html
+
+ For security reasons, no port mapping is created, those can be created after deploying the app.
+ More information about Caprover's Firewall & Port Forwarding and configuration can be found here:
+ https://caprover.com/docs/firewall.html
+
+
+ More information about gitlab's docker configuration can be found here:
+ https://docs.gitlab.com/omnibus/docker/#configure-gitlab
+
+ It can take some time (2-3 minutes) for the service to launch in a new container. Check the "Deployment" tab logs to determine once GitLab is ready.
+ end: Gitlab-CE is deployed and available as srv-captain--$$cap_appname:80 to other apps.
+ displayName: Gitlab (CE)
+ isOfficial: true
+ description: CE version of GitLab for CI/CD pipeline
+ documentation: Taken from https://docs.gitlab.com/omnibus/docker/