Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

Forgejo on a VPS

Forgejo is a lightweight, community-governed Git forge with repositories, pull requests, issues, packages and built-in CI. Host your code on a server you run.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
3000/tcp, 22/tcpPorts
GPL-3.0-or-laterLicense

About Forgejo

Forgejo is a self-hosted Git forge that began as a fork of Gitea and is governed by its community. It covers repositories, pull requests, issues, wikis, a package registry and Forgejo Actions for CI. Version 9 and later are GPL-3.0-or-later; earlier releases were MIT.

A forge stays light until CI starts: the web app is happy on 1 GB, but Actions runners need cores, and the faster Ryzen cores of High Frequency plans shorten builds. NVMe keeps big clones quick.

After deploy, Forgejo serves its setup page on port 3000 and Git over SSH on port 22.

What you get with Forgejo

  • Pull requests with code review and protected branches
  • Issues, milestones, project boards and wikis
  • Forgejo Actions, with workflows in a GitHub Actions style
  • Package registry for containers, npm, PyPI and more
  • Repository migration from GitHub, GitLab and Gitea

Forgejo use cases

  • Private code hosting for a team or company
  • Mirroring public repositories you depend on
  • A home for open-source projects that want independence

After you deploy Forgejo

  1. When the console marks it Running, open http://<server IP>:3000 to reach the initial configuration screen.
  2. Pick the database (SQLite is fine for small teams), set the domain and base URL, and create the administrator account on that page.
  3. Add your SSH key in user settings; clone URLs use the git user on port 22.
  4. Put Forgejo behind HTTPS on your domain and register a Forgejo Runner if you plan to use Actions.

Forgejo ports

Open these in your firewall if you use one: 3000/tcp web, 22/tcp Git over SSH.

Forgejo FAQ

Can I move from Gitea to Forgejo?

Often, yes, but only from certain Gitea versions, because the projects have diverged. Read Forgejo's upgrade guide for your exact Gitea release first.

How much server does Forgejo need?

Very little for the forge itself: its docs say SQLite suffices for at least 10 users. Size the server for CI instead, since Actions jobs use CPU and memory while they run.

Disclaimer. The Forgejo project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

Forgejo on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back