Compare / Self-hosting decision

Gitea vs Forgejo vs GitLab on a Mini PC: Three Self-Hosted Git Models Compared

Three self-hosted Git forges, three very different footprints — a single Go binary on port 3000, a community-governed fork built for tiny machines, and a full DevOps platform with an official 8 vCPU / 16 GB baseline. Official docs checked November 2026, set against a measured 6C/8T, 16 GB mini PC. No forge was installed or benchmarked.

The short answer

All three are credible self-hosted Git forges, but they are not the same kind of system, and treating them as three skins over the same feature list is the mistake most comparison pages make:

The decision that actually settles this on a home server is not “which has more features.” It is footprint and governance. Two of these projects target small hardware directly; one publishes a hardware baseline that consumes this entire machine.

This page checks each project’s own documentation (retrieved November 25, 2026) and sets those documented facts against measurements from our own host. Every machine number below comes from a Beelink EQi12; every forge statement is labelled as a project statement. We did not install, run or benchmark any of these three tools. If you want a measured head-to-head with throughput numbers, we have not published one and will not invent one.

What we checked, and what we deliberately did not

This site publishes original measurements of one machine: a Beelink EQi12 with an Intel Core i3-1215U, 16 GB DDR4-3200, a WD SN540 512 GB NVMe drive, two Realtek gigabit ports and Intel AX200 Wi-Fi 6. The full hardware review inventories it and the methodology page defines our evidence levels.

For this comparison we separated two kinds of fact, and kept them visibly apart:

What we did not do: install Gitea, Forgejo or GitLab; create repositories; run CI jobs; or time a clone or push on this box. So there is no “fastest forge” number here. Where a number appears it is either (a) a documented port, license, database or hardware floor, (b) a direct measurement of our hardware, or (c) arithmetic we label as arithmetic. A project’s own claim like “low server profile” is quoted as that project’s statement, never reproduced as our benchmark.

Three forges, three operating models

GiteaForgejoGitLab Self-Managed
ShapeSingle Go binary, embedded assetsFork of Gitea, binary + Docker installsLinux package bundling PostgreSQL, Redis, Prometheus
Default HTTP port3000 (-p to override)Gitea-derived config, port configurable80/443 (HTTP/HTTPS), SSH 22
DatabasesSQLite / MySQL / PostgreSQL built into binaryGitea-pattern, web installer configPostgreSQL bundled; 5–12 GB DB storage
Stated hardware floorNone published for small installs“low server profile”, “order of magnitude less resources”8 vCPU + 16 GB baseline; 8 GB minimum
Tiny machines (per Forgejo’s own table)YesYesNo
GovernanceCompany/community mix; Forgejo marks it “limited”Non-profit Codeberg e.V.; democratic, transparentFor-profit company; Free / Premium / Ultimate tiers
License postureOpen source100% Free Software, stated explicitlyOpen core, tiered commercial editions
Best fit“I just need to host code, small and simple”Same, plus community governance and small-machine focus“I need the whole DevOps platform”

Read that table as three answers to one question: how much system are you willing to run? Gitea and Forgejo are forges — they host code and collaboration. GitLab is a platform — the forge is one component inside a much larger machine.

The default-port detail matters more than it looks. Gitea’s documentation shows the startup error listen tcp 0.0.0.0:3000: bind: address already in use and offers ./gitea web -p $PORT as the fix — a small reminder that even a single binary still wants a port, and that “single binary” does not mean “no configuration.” GitLab’s package expects the conventional web ports much more directly, which changes how it sits behind an existing reverse proxy.

The governance difference that feature tables skip

One of the more useful documents in this whole comparison is not a feature matrix at all — it is Forgejo’s own comparison page, which refuses to do a feature-by-feature shootout on the grounds that such comparisons are “inherently biased” and “immediately outdated.” Instead it compares what it calls deep, fundamental, persistent differences. Two of its tables are worth reading verbatim:

That second row is the honest summary of the whole decision. If your requirement stops at hosting repositories, issues and pull requests, the lightweight forges are explicitly built for it. If you need mature CI, merge pipelines and a container registry, that is precisely where GitLab’s extra weight is doing real work — and where the “lightweight” options admit they are not there yet.

Treat these as the projects’ self-descriptions, not independent audits. Forgejo wrote the table, so it is naturally favourable to Forgejo. But the rows are specific enough to be useful, and they line up with the hardware documentation below.

The hardware question: fit against one 16 GB host

Here is where documented facts meet a machine we actually measured. Our host — a Beelink EQi12 — has:

ResourceMeasured / documented on this host
CPUIntel Core i3-1215U, 6 cores / 8 threads
Memory16 GB DDR4-3200 (2×8 GB)
StorageWD PC SN540 512 GB NVMe, sustained ~623 MiB/s
Wired network2× Realtek GbE, 891–941 Mbps
Idle Docker host power~12 W

Sources: hardware review, storage paths and Docker benchmark.

Now set that beside GitLab’s own installation requirements: a single-node install has an 8 vCPU baseline and a 16 GB memory baseline, with 8 GB as the floor for memory-constrained environments. Application-node storage alone has a 40 GB minimum, with PostgreSQL asking for a further 5–12 GB. The docs also warn against swap (“swap can cause significant performance degradation under load”) and against network filesystems such as NFS for repository storage.

This is fit analysis, not a benchmark. We are not claiming GitLab would fail on this host — we never ran it. We are pointing out that GitLab’s own published baseline is 8 vCPU and 16 GB, while this entire machine is 6 cores and 8 threads with 16 GB of RAM. On this host that baseline already covers all available memory before a single container, reverse proxy or media service starts. Forgejo’s “tiny machines: Yes” and GitLab’s “tiny machines: No” are not marketing flourishes when read next to those numbers.

Gitea and Forgejo publish no comparable hard floor for small installs, which is itself informative: their documented install paths start from a binary or container and a web configuration step, with SQLite available as a file-backed database. That shape fits a single NVMe drive and 16 GB of RAM with room left for everything else this machine does.

The practical reading: on a 16 GB home server, a lightweight forge is a normal addition; a full GitLab instance is a decision to dedicate the machine. If you genuinely need GitLab’s CI, plan the hardware accordingly rather than hoping it squeezes in beside Docker and Jellyfin.

Ports, proxies and the collision you should check first

A self-hosted forge lives or dies on two things: a port and a hostname. Our own host already runs an edge proxy owning the front ports and a dense set of listeners — the same reason we spend time on port maps in the reverse proxy comparison and the SSO comparison.

For a lightweight forge the clean layout is: bind Gitea or Forgejo to its default high port (3000), leave 80/443 to the edge proxy, and let the proxy terminate TLS and forward to 3000. GitLab’s package wants 80/443 and 22 more directly, so placing it behind the same proxy takes more care — especially for SSH, where Git over SSH needs port 22 reachable or an alternative SSH port configured for clients.

Before installing anything, list your current listeners. If port 3000 is taken, Gitea’s -p flag exists precisely for that case. If 80/443 are already owned by a proxy — as ours are — plan the forwarding rule before you plan the storage. Port collisions, not CPU, are what most often stop a self-hosted forge in its first hour.

Database, backups and the shape of your disk

The database decision follows the forge you choose:

On our host the storage path a forge would land on is a measured ~623 MiB/s NVMe, with a ~301 MiB/s fast USB path and ~36 MiB/s slow one as alternatives. That is a placement decision, not a forge speed ranking: keep the repository store and database on the NVMe, use the slower paths for cold backups. The storage placement guide and the backup-tool comparison cover that side of the problem in detail.

Whichever you pick, back up the repositories and the database together. A forge without its database is a directory of bare Git repos with no issues, pull requests or access rules.

Migration, lock-in and staying current

If you already run Gitea and are considering Forgejo, the migration path is documented rather than improvised — Forgejo points to a guide that preserves data from an existing Gitea installation. That is a meaningful difference from switching to GitLab, which is a different architecture and a different scale of project.

On updates: Gitea’s docs recommend replacing the binary and restarting, with a backup first, and note that renaming the binary can break repository Git hooks until you resynchronise them from the admin options. That is a good example of why “single binary” is appealing but not maintenance-free. Forgejo publishes a stable release roughly every three months and an LTS release each year, with a versioning scheme documented on its site. GitLab ships continuously through its Linux package.

Before committing real repositories, re-check each project’s current docs. Licenses, tier names and published hardware floors change — this page is a dated snapshot, not a live feed.

Which one should you actually pick?

Your situationStart withWhy
One mini PC, want to host code, smallest footprintGiteaSingle binary, SQLite built in, default port 3000
Same, but governance and small-machine focus matterForgejoCommunity-run under Codeberg e.V., documented small profile, Gitea migration path
Need CI, merge pipelines, registry, full DevOpsGitLabIt is the only one of the three that says “advanced CI: Yes”
16 GB RAM host also running Docker, proxy, mediaGitea or ForgejoGitLab’s own 16 GB baseline leaves nothing for the rest
Want to avoid a separate database daemonGitea / ForgejoSQLite ships in the binary; GitLab bundles PostgreSQL
Port 80/443 already owned by a reverse proxyGitea or ForgejoHigh default port behind the proxy is the simpler layout

The through-line: choose by operating model and footprint, not by a feature tally. A forge you will actually maintain on a small host beats a platform that consumes the host and whose advanced features you never turn on.


Documented facts checked November 25, 2026 against docs.gitea.com, forgejo.org and docs.gitlab.com. Machine figures are A-class measurements from this site’s Beelink EQi12. No forge was installed, run or benchmarked for this article; all application-level claims remain C-class and carry no performance numbers.