Last verified:
Gitea’s current documentation says that 2 CPU cores and 1 GB of RAM are typically sufficient for small teams and projects. Treat that as a starting point for the Gitea service, not a universal server minimum. The operating system, database, reverse proxy, monitoring, repository size and optional Actions workloads also consume resources.
Quick Gitea VPS sizing answer
| Workload | CPU | RAM | Storage approach |
|---|---|---|---|
| Personal repositories and light use | 2 vCPU | 1 to 2 GB | Start from current repository data, then add room for growth and backups |
| Small team with regular web and Git activity | 2 vCPU | 2 GB | Size for repositories, packages, logs and a separate backup copy |
| Larger repositories, packages or several companion services | 2 to 4 vCPU | 4 GB or more | Measure current data and growth instead of relying on a fixed disk minimum |
| Gitea Actions jobs | Size separately | Size separately | Include runner images, caches, logs and artifacts |
The first row stays close to the official Gitea system guidance. The additional RAM in the small-team and larger-workload rows is our operational buffer for the rest of the server stack. It is not an official Gitea minimum.
What changes the requirement
CPU and RAM
Repository browsing and ordinary pushes are light compared with code indexing, package handling and concurrent requests. Start with 2 vCPU for a small team. Add memory before adding unrelated services to the same VPS, and watch actual memory use after importing your repositories.
Do not size the Gitea web service from CI jobs. Gitea Runner executes Actions jobs on a host or in containers, and those jobs can use far more CPU, memory and disk than Gitea itself. A separate runner keeps a busy build from starving Git and web requests.
Storage
Gitea does not publish a universal 10 GB or 20 GB disk requirement. Storage depends on repository history plus attachments, packages, Git LFS objects, Actions logs, artifacts and backups. Check the current data size, estimate growth, and keep backup capacity outside the live data volume.
The official backup documentation covers the database, repositories and application data. A disk that only fits today’s repositories is not enough for a recoverable installation.
Database choice
Gitea’s database documentation supports PostgreSQL, MySQL, MariaDB, SQLite and MSSQL. SQLite is built in and works for a small installation, but the documentation warns that it does not scale. Choose the intended production database before the instance grows because conversion between database types is not a well-tested routine.
| Situation | Practical database choice |
|---|---|
| Personal instance with light use | SQLite can keep the setup simple |
| Growing team or regular production use | PostgreSQL, MySQL or MariaDB |
| Existing Microsoft database environment | MSSQL is supported |
Which VPS operating model fits Gitea?
A copied price table ages faster than the sizing guidance. Compare the resource model, storage path and backup boundary first, then check the live price and selected region at checkout.
| Provider | When it may fit | Verify before checkout |
|---|---|---|
| Contabo | A fixed VPS bundle and local storage capacity matter more than fine-grained resizing | Current VPS family, shared vCPU behavior, snapshot eligibility and whether Auto Backup is available for that plan |
| Hetzner | You want a documented choice between shared and dedicated vCPU and may attach a Cloud Volume | Product availability by region and the fact that server Backups and Snapshots do not include attached Volumes |
| DigitalOcean | You want documented shared or dedicated CPU plans and a control-panel resize path | Droplet type, the irreversible disk increase during a permanent resize and separate protection for Volumes because Droplet Backups exclude them |
| Vultr | Region choice and multiple compute classes are central to the decision | Whether the selected class uses shared resources and that automated backups exclude attached Block Storage |
| Akamai Cloud | You want Linode compute with documented shared and dedicated CPU plans | Plan and region support for the Backup Service, its same-data-center boundary and the exclusion of Block Storage Volumes |
The provider does not change Gitea’s resource needs. A small instance still needs the documented Gitea service envelope plus room for the operating system, database, reverse proxy, repository data and backups. Run Actions jobs on separate capacity when their peaks could starve Git and web requests.
Current provider destinations
The following are affiliate links. We may receive a commission if you buy through them, at no extra cost to you. Their order is not a performance ranking, and the links do not change the Gitea requirements above.
- Check the current Contabo configuration
- Check the current Hetzner configuration
- Check the current DigitalOcean configuration
- Check the current Vultr configuration
- Check the current Akamai Cloud configuration
For a longer provider comparison, use the Gitea VPS shortlist or the lower-cost Gitea shortlist. Once the server is selected, continue with the Gitea VPS installation guide. The broader VPS comparison remains available for other workloads.
Frequently Asked Questions
What is the minimum RAM needed to run Gitea effectively?
Gitea documents 2 CPU cores and 1 GB of RAM as typically sufficient for small teams and projects. A 2 GB VPS gives the operating system, database and reverse proxy more headroom. Measure the imported instance before increasing resources further.
Can Gitea be hosted on a low-cost VPS?
Yes. Match the actual CPU, memory, disk and region to the workload instead of choosing by price alone. A plan with only 1 vCPU falls below the documented small-team baseline even if its memory and storage look sufficient.
What database options can I use with Gitea?
Gitea supports PostgreSQL, MySQL, MariaDB, SQLite and MSSQL. SQLite is the simplest choice for a small instance, but Gitea warns that it does not scale. For a growing installation, select the intended production database from the start.
Should Gitea Actions run on the same VPS?
They can, but size the runner workload separately. Builds, container images, caches, logs and artifacts can demand more CPU, memory and disk than Gitea itself. Separate runner capacity prevents a busy job from degrading repository access and the web interface.
What must a Gitea backup include?
Protect the database, repositories, application data and configuration as one recoverable set. Gitea warns that these parts change together and documents a consistent backup with the service stopped. Test a clean restore instead of treating a provider snapshot as complete by default.
Sources and review method
This guide was substantively reviewed on 25 October 2026 against current official Gitea and provider documentation. It is a documentation-based capacity and operating-model guide. No hands-on performance, uptime or support-response test is claimed.
- Gitea system requirements
- Gitea binary installation and updates
- Gitea database preparation
- Gitea backup and restore
- Gitea Runner requirements
- Contabo VPS documentation
- Contabo Auto Backup
- Hetzner Cloud server FAQ
- Hetzner Cloud Volumes
- DigitalOcean Droplet plan selection
- DigitalOcean Backup limits
- DigitalOcean Volume limits
- Vultr Cloud Compute
- Vultr Backups
- Akamai shared and dedicated CPU
- Akamai Backup Service FAQ