---
title: "Deploy Gitea"
description: "Lightweight self-hosted Git service with issues, PRs and packages"
category: "Other"
url: https://railway.com/deploy/gitea-3
---

# Deploy Gitea

Lightweight self-hosted Git service with issues, PRs and packages

**[Deploy Gitea on Railway](https://railway.com/template/gitea-3)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/gitea-3/manifest.json

- **Creator:** zer0person's Projects
- **Category:** Other
- **Total deploys:** 1

## Template content

### Gitea

- **Image:** gitea/gitea:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Gitea on Railway

[Gitea](https://github.com/go-gitea/gitea) is a lightweight, self-hosted Git service with repositories, issues, pull requests, code review, packages and CI.

## About Hosting Gitea

This template runs the official `gitea/gitea:latest` image with a persistent volume at `/data` holding repositories, configuration and the built-in SQLite database. The public URL is already set as the server root URL. On first visit you see the install page: keep the default SQLite3 database, scroll to Administrator Account Settings to create your admin user, then click Install. Git over HTTPS works through the public URL; SSH is not exposed.

## Common Use Cases

- Private Git hosting for personal or team projects
- Issue tracking and pull requests without a SaaS
- A self-hosted mirror of public repositories

## Dependencies for Gitea Hosting

- One service with a volume; SQLite is built in

### Deployment Dependencies

- [Gitea on GitHub](https://github.com/go-gitea/gitea)
- [Docker image](https://hub.docker.com/r/gitea/gitea)

## Why Deploy Gitea on Railway?

Railway gives you a public HTTPS URL, a persistent volume and automatic restarts with no server to maintain. Finish the install page once and the instance is ready.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/gitea-3
