Running Forgejo: Lightweight Gitea Fork for Code Hosting

Want to host your own code without relying on GitHub or GitLab? Forgejo is a community-driven fork of Gitea — lightweight, fast, and designed to stay free forever. It’s everything you need for private repos, CI/CD, and team collaboration on your own hardware. Why Forgejo Over Gitea? Forgejo forked from Gitea in 2022 after governance concerns. The key differences: Community-governed — no single company controls it Guaranteed free — committed to staying FOSS, no enterprise bait-and-switch Federation support — working toward ActivityPub integration (follow repos across instances) Same codebase — if you know Gitea, you know Forgejo Drop-in replacement — migrate from Gitea with zero data loss Prerequisites Docker and Docker Compose ~256MB RAM (runs great on a Pi) A domain (optional but recommended) Step 1: Setup mkdir -p ~/forgejo && cd ~/forgejo Step 2: Docker Compose Create docker-compose.yml: ...

February 13, 2026 · 4 min · Self Host Setup