Skip to content
Forkshelf
Menu

Self-host Gitea

License
MIT
GitHub stars
58,949, as of 8 Nov 2026
Latest release
v28.3.0, as of 8 Nov 2026
Host needs
2 CPU cores and 1GB RAM
Install method
Docker Compose
One-click template
Available
  • License: MIT.
  • Last commit: 8 Nov 2026 08:36 SGT, as of 8 Nov 2026. The repository is not archived.

Requirements

The Gitea docs say: "A Raspberry Pi 3 is powerful enough to run Gitea for small workloads."
They add: "2 CPU cores and 1GB RAM is typically sufficient for small teams/projects."
Disk: not stated.
The Docker method needs docker compose.

Docker or Docker Compose

The official guide is Installation with Docker.
It is a reference setup based on Docker Compose.

Hosting options

A Railway template for Gitea is at railway.com/deploy/gitea, created by Heimdall.
It shows "Total Projects 19".
The 1GB RAM figure is above the Railway Free limit of "0.5 GB RAM per service".

Affiliate disclosure: Forkshelf earns a commission if you sign up for Railway through the links marked "Paid link" on this page. This does not change the order or content of any guide here.

To get started, create a Railway account (Paid link).

Backups and updates

Backups: the official guide is Backup and Restore.
Updates: the official guide is Upgrade from an old Gitea.

Alternatives

Gitea is listed on open-source alternatives to GitHub.
Compare it in GitHub vs Gitea.