---
title: "Deploy Forgejo"
description: "Forgejo is a self-hosted lightweight software forge."
category: "Storage"
url: https://railway.com/deploy/Ot34oR
---

# Deploy Forgejo

Forgejo is a self-hosted lightweight software forge.

**[Deploy Forgejo on Railway](https://railway.com/template/Ot34oR)**

- **Category:** Storage
- **Total deploys:** 53

## Template content

### Forgejo https://forgejo.org/favicon.svg

- **Image:** mstreicherde/forgejo
- **Health check:** /
- **Public domain:** Yes

## Documentation

# Forgejo is a self-hosted lightweight software forge.

## Notes
Due to Railway only allowing 1 port to be forwarded to your project, you must use HTTP for checkout and push to the repositories setup in your Gitea instance.

## Purpose
The goal of this project is to make the easiest, fastest, and most painless way of setting up a self-hosted Git service.

Forgejo is a fork of Gitea, which is itself a fork of Gogs.

## Setup Instructions
To deploy the Gitea project on Railway, just click through, all environment variables are already configured for you. Once deployed, visit your domain, and you can start setting up your instance.

## Similar templates

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [Postgres Backup to Cloudflare R2 (S3-Compatible)](https://railway.com/deploy/postgres-to-r2-backup) — Automated PostgreSQL backups to S3-compatible storage with encryption

Open this page in a browser: https://railway.com/deploy/Ot34oR
