guide

Gitea VPS Requirements: RAM, CPU & Storage Guide

A clear guide to the VPS requirements for Gitea: the recommended RAM, CPU, and storage, plus sizing advice and provider picks to self-host Gitea in 2026.

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

WorkloadCPURAMStorage approach
Personal repositories and light use2 vCPU1 to 2 GBStart from current repository data, then add room for growth and backups
Small team with regular web and Git activity2 vCPU2 GBSize for repositories, packages, logs and a separate backup copy
Larger repositories, packages or several companion services2 to 4 vCPU4 GB or moreMeasure current data and growth instead of relying on a fixed disk minimum
Gitea Actions jobsSize separatelySize separatelyInclude 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.

SituationPractical database choice
Personal instance with light useSQLite can keep the setup simple
Growing team or regular production usePostgreSQL, MySQL or MariaDB
Existing Microsoft database environmentMSSQL 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.

ProviderWhen it may fitVerify before checkout
ContaboA fixed VPS bundle and local storage capacity matter more than fine-grained resizingCurrent VPS family, shared vCPU behavior, snapshot eligibility and whether Auto Backup is available for that plan
HetznerYou want a documented choice between shared and dedicated vCPU and may attach a Cloud VolumeProduct availability by region and the fact that server Backups and Snapshots do not include attached Volumes
DigitalOceanYou want documented shared or dedicated CPU plans and a control-panel resize pathDroplet type, the irreversible disk increase during a permanent resize and separate protection for Volumes because Droplet Backups exclude them
VultrRegion choice and multiple compute classes are central to the decisionWhether the selected class uses shared resources and that automated backups exclude attached Block Storage
Akamai CloudYou want Linode compute with documented shared and dedicated CPU plansPlan 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.

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.