Migrations Migrating from Heroku, Render, Hatchbox or Cloud 66? We move your production app within 48 hours →
← Templates · Frameworks
Verified

Deploy self-hosted Gitea in 60 seconds (managed updates & backups)

Lightweight, open-source Git service — your own GitHub, one container.

Price comparison

Managed SaaS / Elestio$24 – $60 / month

Self-hosted via Railyard$22/mo Launch plan for all your apps + €5.99/mo Hetzner server

You save up to 53%

Pre-configured stack

  • gitea
  • Automatic HTTPS

Sign in with GitHub, start your 14-day trial and deploy Gitea to your own server · use email instead

What you get

  • Builds automatically from its own source repository
  • Deployed end to end and verified by the Railyard team
  • Automatic HTTPS and zero-downtime deploys

How to deploy Gitea

  1. 1

    Connect a server

    Attach a DigitalOcean, Hetzner or Vultr server to Railyard, or any Linux box over SSH.

  2. 2

    Click "Deploy Gitea"

    Railyard builds the container.

  3. 3

    Set your domain

    Point your domain at the app. Railyard issues an HTTPS certificate and keeps it renewed automatically.

Why deploy on Railyard

Railyard runs it standalone on a server you already pay for — no addons to provision, with zero-downtime deploys and scaling still included.

Deploying Gitea is one piece of a bigger stack you can keep building — add a database, a worker, a cache, or another app, all on the same servers you already pay for.

Good for

  • Self-hosted Git hosting for private repos
  • A lightweight GitHub alternative for a small team

Good to know

  • No database addon is attached, so it runs on SQLite by default — add a Postgres addon yourself first if you want one
  • Finish the first-run setup wizard at your app's URL to create the admin account

Project docs ↗

Prefer to set Gitea up by hand first, with the full Docker Compose setup? Read the tutorial →

Frequently asked questions

How much does it cost to self-host Gitea?
Launch is $22/month per team with 2 servers and unlimited apps included; Scale is $45 with 5 servers, previews and failover; Team is $79 with 10 servers and single sign-on. Every plan starts with a 14-day free trial. You pay your cloud provider for the server directly; Railyard adds no markup on compute.
What do I need to self-host Gitea?
A server from a provider such as DigitalOcean, Hetzner or Vultr. Gitea runs standalone, with nothing else to provision, with HTTPS and your domain configured.
How do I deploy Gitea on my own server?
Connect a server to Railyard, click "Deploy Gitea", and set your domain. Railyard builds the container, wires up the services it needs, and issues an HTTPS certificate automatically.
Is there a step-by-step tutorial for self-hosting Gitea?
Yes. The full walkthrough, including the underlying Docker Compose setup, is at https://railyard.run/blog/self-host-gitea.

Related templates

Theme
Colors