Skip to main content

Gitea

Description

Gitea is a Git repository management system that provides functionality for storing, managing and collaborating on source code for projects. It is free and open source software developed by the community and used to create and store Git repositories. Gitea provides a user interface that makes working with Git more accessible and convenient.

Getting started

After installing the image, the Gitea web interface will be available at https://example.com, where example.com is the hostname of your server

To enter the web-interface use gitea login and password, which you can find in a file on the server:

/root/.app_password

To access this file, you will need to log in to the server via SSH. You can connect to the server via SSH:

  • With an SSH key, if this option is enabled before a server is created
  • With the root user password sent by mail when server is activated

Changing domain

If you wish to use your own domain, or subdomain, to access the Gitea web interface, you will need to SSH into the server as root and run the command:

add_domain

You will be prompted to enter a domain or subdomain in the format subdomain.example.com.

note

Make sure your domain exists and is pointed to the IPv4 address of your server!

When the script finishes, a Let's Ecnrypt certificate will be issued for the specified domain or subdomain and the web-interface will be available at https://example.com/, where example.com is the previously specified domain (subdomain).

Software installed

NameLicense
GiteaMIT license
CaddyApache License 2.0

For more information about the installed packages, please refer to their official documentation: