Hometutorials
gitlab instant app

Jump toUpdate content

Using GitLab repository manager to manage your projects

Reviewed on 09 February 2022Published on 07 May 2015
  • compute
  • git
  • apps
  • GitLab
  • instance
  • InstantApp

This page shows you how to use the GitLab repository manager InstantApp on your Scaleway instance.

Requirements:

GitLab is a web-based Git repository manager with wiki and issue tracking features. GitLab includes git repository management, code reviews, an issue tracking, wikis and much more.

Creating the GitLab Instance

  1. Click Instances in the Compute section of the side menu. The Instance creation page displays.

  2. Click Create an Instance. The Instance creation wizard displays.

    You can choose the GitLab image in the InstantApps tab:

  3. Follow the remaining steps to create your Instance.

Opening the mail ports to send e-mails

To avoid spam, remote mail ports cannot be reached from our infrastructure by default. As Gitlab requires to send mail, we need to open them. Your account needs to be validated to perform this operation. To get your account reviewed, please contact our assistance.

  1. Click the Security Groups tab in the Instances overview page.

  2. Click Create a new security group and input the security group name and description.

  3. Check the Enable SMTP box to unblock the mail ports.

  4. Return to the overview tab and select the security group you created in step 2.

The new security group configuration will be applied automatically on Virtual Cloud Instances.

Configuring GitLab

  1. Copy the public IP of your Instance and paste it in your favorite browser.

  2. Define a new password for your GitLab account. You may also use sudo gitlab-rake "gitlab:password:reset" from the server.

Note:

You can also use the following command sudo gitlab-rake "gitlab:password:reset" from your server to reset your password.

3. Enter the new password twice and click the button to save it.
  1. Login now with the root user and your new password.

  2. Configure GitLab from the “Admin area”.

Configuring Let’s Encrypt

Gitlab can automatically fetch and renew let’s encrypt certificates. Follow this tutorial from Gitlab documentation.