Skip to content

Install Forgejo / Gitea 2026 – Git on a VPS

Forgejo or Gitea: Docker, SSH port 22 vs 2222, Actions, backup, GDPR instead of GitHub – recommended fork in 2026 is Forgejo.

Self-hosting

Quick answer: The 2026 GitHub alternative on a VPS is Forgejo (Gitea fork): Docker, HTTPS via proxy, Git SSH on 2222, backup repos + DB.

Docker · NPM

VPS & root servers: Order VPS in Germany · NexoraHost · nexorahost.com (Maincubes FRA01 Frankfurt · Ryzen · NVMe · GDPR)

Frequently asked questions (FAQ)

Forgejo or Gitea?
Forgejo is the community fork (Codeberg) and the usual 2026 self-host choice. Day-to-day it feels like Gitea.
Which VPS?
2–4 GB for small teams. Actions + many repos: 8 GB + NVMe. Use Postgres once you leave “just me”.
SSH clone vs host SSH?
Keep host SSH on 22. Map Forgejo SSH to 2222 or a dedicated hostname.
Backup?
data volume (repos, LFS) + database. Use the app dump too.

Keep reading

Popular and fresh – not just the oldest guides.

More

Explore NexoraHost