This tutorial shows you how to deploy your own Git Service with a few clicks.
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.
Before starting, click the “Create a Server” button in the control panel.
You will land on the server-creation page where you can choose the Gogs image in the InstantApps tab for your Cloud Instance:
Choose the server type and click on the Create a Server button. This action starts your server. In a few seconds, the WordPress application will be ready to use.
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.
Click on the Security Groups tab to enter the security-groups page. Click the Create a new Security Group button and input the security group name and description.
Check the Enable SMTP box to unblock the mail ports.
Go back to your servers details end select the security group previously created. The new Security Group configuration will be applied automatically on Virtual Cloud Instances. BareMetal Cloud Instances need to be hard rebooted from the management console to configure the new rules.
When your server is running, you can see the server’s IP address in the server list on the control panel.
Connect to it, by using SSH, to recover the database password for Gogs. Once you are connected to your server, the following message appear on your screen:
Save the password as you will need it in the next step.
To finish the installation of Gogs, go to http://YOUR_SERVERS_IP/ (for example:
Enter this address in your favorite browser and you will land on the Gogs Installation Assistant.
Fill in the required information for the installation of your Gogs and use the Password that you have recovered to configure the MySQL connection:
Submit the form to finish the installation of Gogs.
You can access Gogs at
http://YOUR_SERVERS_IP/ now (for example:
You have to 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:
You use Gogs now to manage your Git repositories.
To enter the advanced configuration of Gogs, click on your name, then on Admin Panel:
The Admin Panel allows you to manage your users, projects and more:
More information about the configuration of Gogs is available in the offical documentation.
If you have any suggestion or question about this tutorial, please leave a comment in our Slack Community.