Jump toUpdate content

Deploying GOGS in a few clicks with InstantApps

Reviewed on 29 June 2021 • Published on 06 April 2018
  • apps
  • compute
  • git
  • GOGS
  • InstantApps
  • Git

Gogs (Go Git Service) is a painless self-hosted Git Service written in Go. The goal of this project is to make the easiest, fastest and most painless way to set up a self-hosted Git service.


Deploying the Gogs Instance

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

  2. Choose the Gogs 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 Discourse 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 Gogs

When your server is running, you can see the server’s IP address in the server list on the control panel.

  1. Connect to your server with SSH to recover the database password for Gogs.

    Once you are connected to your server, the following message appear on your screen:

  2. Save the password as you will need it in the next step.

  3. Enter the IP of your server in your browser of choice. The Gogs Installation Assistant displays.

  4. Fill in the required information.

    Note: Use the password that you previously saved to configure the MySQL connection.
  5. Submit the form to finish the installation of Gogs.

  6. Create the first user for Gogs by clicking on Register.

Once you have created the user, you can connect to Gogs and will see the following interface:

More information about the configuration of Gogs is available in the offical documentation.