Application hosting

Hosting Gitea

Gitea hosts Git repositories and collaboration tools on your own server. Repository growth, attachments and the number of active users help determine the database and storage arrangement.

Requirements last checked against the project's documentation.

A sensible first server for Gitea is 2 vCPU, 2 GB RAM and 20 GB of storage. The cheapest listed plan that fits is OVHcloud VPS-1 (US) at $4.54/month.

Understand the setup

Find the software and services needed to run the application.

See requirements

Budget your resources

Plan memory, storage and CPU for the way you will use it.

Open resource planner

Build your shortlist

Compare plans for the starting size, then review the provider and billing terms.

See plans

Must have

Installation requirements

  • Provide persistent repositories and database storage, plus file access for the service user.
  • Use the correct Git and database versions for your Gitea release; account separately for any CI runners.

Recommended

Planning guidance

  • Start with 2 vCPU, 2 GB RAM and 20 GB storage.Resize after watching real memory and CPU use under your own traffic.
  • Use the resource planner to size for your user count.

Choosing a server for Gitea

Repository size, clone activity and attachments shape the hosting budget. Build runners execute separate workloads and need their own resources.

Where to start

A sensible first server for Gitea

vCPU
2
RAM
2 GB
Disk
20 GB

Our estimated starting configuration for a small self-hosted setup. Adjust it after observing CPU, memory and storage use under your workload. Gitea is light for small teams; repositories, attachments and CI runners grow the need.

Gitea with Docker · Size it for your workload

Our shortlist

Cheapest plans that meet this size

  1. OVHcloud Lowest price

    OVHcloud VPS-1 (US)

    • 2 vCPU
    • 4 GB RAM
    • 40 GB NVMe SSD
    $4.54/mo list price
  2. VPSDime

    Linux4GB

    • 2 vCPU
    • 4 GB RAM
    • 20 GB SSD
    $5.00/mo list price
  3. KnownHost

    Unmanaged VPS Entry Plus

    • 2 vCPU
    • 2 GB RAM
    • 50 GB NVMe
    $10.00/mo list price
  4. RamNode

    Standard VPS 2 GB

    • 2 vCPU
    • 2 GB RAM
    • 80 GB SSD
    $10.00/mo list price
  5. Amazon Web Services

    Amazon Lightsail · 2 vCPU / 2 GB

    • 2 vCPU
    • 2 GB RAM
    • 60 GB SSD
    $10.00/mo list price
  6. Hivelocity

    Hivelocity pro.sm.amd

    • 2 vCPU
    • 4 GB RAM
    • 40 GB NVMe SSD
    $10.00/mo list price
  7. Namecheap

    Pulsar

    • 2 vCPU
    • 2 GB RAM
    • 40 GB SSD RAID 10
    $11.88/mo list price
  8. Google Cloud

    Compute Engine e2-small · 2 vCPU / 2 GB

    • 2 vCPU
    • 2 GB RAM
    $12.23/mo hourly × 730

One cheapest plan per provider, based on each provider's standard list price. Check the plan page for introductory and renewal pricing before you buy.

Deploy with

Supported paths

  • Official prebuilt binary for a supported platform
  • Container or package deployments documented by Gitea

The host must provide

Runtime

Database
SQLite, MySQL, or PostgreSQL included in official binary; check supported database versions for the chosen Gitea release
Git
Install a Git version supported by the selected Gitea release

Storage

Persistent data

Persistent space is needed for repositories, attachments, packages, database, logs, and backups. No single capacity fits every installation.

Step by step

Gitea deployment outline

  1. Select a release and database

    Match the official binary to the server platform and select a supported database before initial installation.

    Official instructions
  2. Prepare persistent data

    Keep repositories and application data on persistent storage and create a dedicated database account when using MySQL or PostgreSQL.

    Official instructions
  3. Protect and maintain the service

    Configure TLS at the public endpoint, restrict administration, and test restoration of repositories, database, and configuration together.

    Official instructions

Security

Before you go public

  • Use TLS for public access.
  • Keep Git, Gitea, and the database updated.
  • Back up repositories, database, and configuration together.

Cost

Beyond the server price

  • Budget for persistent repository storage, backups, and outbound traffic.
  • CI runners, package registries, and attachments can add separate compute and storage demand.

Want the full monthly bill? Use the hosting cost calculator. Add storage, backups and other costs to your estimate.