Gitea is a lightweight, open-source, self-hosted Git platform for collaborative software development. It is ideal for small teams and personal projects.
With minimal system requirements, Gitea is easy to install and set up while offering essential features for efficient development workflows, including issue tracking, code reviews, CI/CD integration, and more—all within a user-friendly web interface.
By hosting your own Gitea instance, you gain full control over your code and data, ensuring enhanced security and privacy.
Selecting the Gitea image in the Marketplace will install the following software on your server:
Software |
Version |
|
22.04 |
|
Latest |
|
Latest version available in the Ubuntu repository |
We will also create a git
user and configure SSH passthrough to the container via the /usr/local/bin/gitea
script.
To install your own Gitea instance:
Start creating a new Hostman server or reinstalling an existing one and select Marketplace → Gitea.
Select server parameters. The official documentation recommends using 2 CPU cores for GItea. However, Gitea will still run on the minimum Hostman configuration. Should you need more resources, you can always upgrade your server later.
Finish creating your server and wait for installation to complete.
Visit your server’s IP address in the browser. You will see the Initial Configuration page where you need to finish the installation.
Open the Administrator Account Settings tab and create an account. The rest of the settings you can leave as they are. Click Install Gitea and wait for the process to complete. Now, you can start working with your Gitea platform.
The docker-compose.yml
file is located at /opt/gitea/
. If necessary, you can edit it and restart the containers.