Forgejo / Gitea installieren 2026 – Git auf dem VPS
Forgejo oder Gitea: Docker, SSH-Port 22 vs 2222, Actions, Backup, DSGVO statt GitHub – empfohlener Fork 2026 ist Forgejo.
Kurzantwort: Eine GitHub-Alternative auf dem VPS ist 2026 Forgejo (Gitea-Fork): Docker, HTTPS per Proxy, Git-SSH auf 2222, Backup von Repos + DB.
- Docker
- Forgejo-Image + Postgres-Volume
- HTTP hinter NPM / Caddy
- SSH:
2222:22im Compose, Firewall nur für euch oder Tailscale - Ersten User als Admin registrieren (ROOT_URL setzen vor dem ersten Start)
CI: Forgejo Actions oder Deploy vom bestehenden GitHub. Secrets nie ins Repo.
VPS & Root Server: VPS in Deutschland bestellen · nexorahost.com (Maincubes FRA01 Frankfurt · Ryzen · NVMe · DSGVO)