Guidance on usage: Gogs Git Service on CentOS Stream 8

Configuring and connecting to Gogs Git Service on CentOS Stream 8

  1. To work, you should open ports 3000 TCP in the network properties in the Azure firewall.
  1. Run the VM through Azure Portal. To customize the Wiki.js server, first, you need to create a Gogs DNS name. Click the link 
  1. Here you can create a new domain name or use an existing one.
  1. Now the VM has a DNS name that is displayed in the ‘Overview’ tab
  1. After starting the VM you can go to the main page using the created DNS name
  1. Open a browser on your PC and go to the DNS address http://domain_name:3000, where ‘domain_name’ is the address of your DNS name or DNS name configured on Azure in step 3 (for example http://gog123.eastus.cloudapp.azure.com:3000)
  1. The First-time run configuration page is displayed 
  1. Select database type- SQLite3
  1. Enter the path: /home/git/gogs/gogs.db 
  1. Enter a new ‘Application name’ (e.g. ‘Gogs’)
  1. Enter the domain name from step 3
  1. Enter ‘Application URL’ (http://’domain_name’:3000/)
  1. Click “Install Gogs”
  1. Select ‘Register’ on the opened page
  1. Fill in the registration fields and click ‘Create New Account
  1. The first user is created as an administrator
  1. You can configure your server and create new users using the Admin panel

Now you can use your own Gogs Git Service on CentOS Stream 8.

More documentation about Gogs here – What is Gogs?