summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/gitlab-ce.yml
blob: 936e13d289ae5934211b9d3d9ba8b0893966cceb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
captainVersion: 4
services:
    $$cap_appname:
        image: gitlab/gitlab-ce:$$cap_gitlab_version
        hostname: $$cap_appname.$$cap_root_domain
        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
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/