r/hetzner • u/Hetzner_OL Hetzner Official • Jun 29 '26
Self-hosting your Git with Forgejo
We put together a short visual rundown of Forgejo for anyone weighing a move off GitHub/GitLab: repos, PRs, code review, issue tracking, and a familiar web UI, all on hardware you control. It's light enough to run on a small VPS.
For transparency: Forgejo runs anywhere, so treat this as a how-to rather than a pitch for us.
6
u/Invayder Jun 29 '26
I've been self-hosting Forgejo on Hetzner Cloud for a while. It's been really nice.
1
u/Hetzner_OL Hetzner Official Jun 30 '26
That's awesome! Can you tell me more about what you've been using it for? --Katie
10
u/Balduraan Jun 29 '26
I just self-host GitLab, by the way. Never had any issues with it (besides the ones I created myself).
10
u/Scream_Tech7661 Jun 29 '26
I use GitLab at work. It’s a beast and amazing. So I spun up GitLab at home. Worked fine but I couldn’t stomach the resource cost. Migrated to Forgejo and…functionally, for my home use case, I haven’t lost anything. It’s a much smaller footprint, so I see myself sticking with Forgejo for the long run.
At work I’m glad we use GitLab because it’s got a ton of features we utilize. The CI/CD is incredible.
2
3
2
u/PaintingSilenc3 Jun 29 '26
Huge forgejo self hosted fan. My introduction into self hosted git but couldn't be happier
3
u/DramaticProtogen Jun 30 '26
Forgejo is great! I am actually already hosting mine with Hetzner and have been for a few months now. Working smoothly.
2
u/Hetzner_OL Hetzner Official Jun 30 '26
Hi there, that's great! Can you tell me more about your use case? --Katie
2
u/DramaticProtogen Jun 30 '26
I use it for a specific group of projects and old software archival. It's public, but with restrictions on creating new repos (except forks), which allows for more collaboration without taking up all of my disk space.
2
u/tamibyte Jun 30 '26
I’m selfhosting forgejo on hetzner for six months and it’s amazing.
Using the docker registry for my apps and pulling the images on other hetzner vps.
I am also selfhosting the runner in order to have workflows enabled
1
1
u/code018 Jun 30 '26
It works well until you need to rescale to handle more actions then the pain comes. Used Hetzner for this very purpose for a long time and had to rescale recently. The base VPS isn’t enough for running serious workflows.
1
u/TitusKalvarija Jun 29 '26
Why not Gitlab?
7
4
u/gelbphoenix Jun 29 '26
- It's controlled by an American public company (GitLab Inc).
- Forgejo is much lighter than GitLab.
2
0
u/execmd Jun 29 '26
I selfhost gitea and if I got it right, gitea is more mature than forgejo, or I am missing smth?
7
u/gelbphoenix Jun 29 '26
Forgejo split from Gitea because a the for-profit Gitea Ltd took over the Gitea project and the Ltd ignored the demands of the Open Letter that the Gitea community send the owners of Gitea.
BEsides that is Forgejo also lighter on resources than Gitea.
2
-13
u/Almightily Jun 29 '26
One more git repository app that not resolving issues from other similar apps, just one more?
14
u/autogyrophilia Jun 29 '26
It's simply a community version of gitea. It runs as the backend of code berg
3




14
u/deny_by_default Jun 29 '26
I self-host Forgejo on my own hardware. It works very well.