ToolStackDaily
AI TOOLS & FREE STACKS
← Back to Self-Hosted Server Directory
Forgejo logo
Dev, Git & Automation • GPLv3+ • Port :3000

Forgejo

Official Docs ↗

Community-governed, privacy-respecting self-hosted Git forge.

LinuxDocker
Forgejo preview screenshot

Replaces

GitHub / Bitbucket Paid

Estimated Savings

100% Free

Default Local Endpoint

http://localhost:3000

What It Does

Forgejo is a 100% community-owned fork of Gitea focused on long-term open-source governance, privacy, and lightweight Git hosting with built-in CI/CD runners.

What It Can Do For You

  • ✓Keep all source code, issues, and CI secrets strictly under community open-source software.
  • ✓Mirror GitHub repos automatically as local backups.
  • ✓Collaborate with pull requests and code reviews.

Step-by-Step Setup Guide (Forgejo)

Pick your OS below:
Easy / 1-Click Option (Windows): Easiest on Windows: install Docker Desktop (.exe) once from docker.com, then paste the 1-line command below in PowerShell.
  1. 1Install Docker Desktop for Windows (.exe) from docker.com (or run the winget command above) and open it.
  2. 2Open Windows PowerShell and paste: docker run -d --name forgejo -p 3000:3000 -p 2222:22 -v forgejo_data:/data codeberg.org/forgejo/forgejo:9
  3. 3Open http://localhost:3000 in Chrome/Edge to start using Forgejo.

Windows CLI Command:

winget install Docker.DockerDesktop
Secure Outside Access

Access Forgejo Outside Your Network via Cloudflare Tunnel

Never open port 3000 on your router. Add this ingress rule to ~/.cloudflared/config.yml and enable Cloudflare Zero Trust Email OTP for login protection:

- hostname: forgejo.yourdomain.com
  service: http://localhost:3000
Read full 5-step Cloudflare Tunnel setup →

More in Dev, Git & Automation

Gitea preview screenshot
MIT
Gitea logo
Dev, Git & Automation

Gitea

WindowsLinuxmacOSDocker

Fast, self-hosted GitHub alternative with CI/CD Actions & Issues.

:3000 • $100+/yrSetup Guide →
n8n preview screenshot
Sustainable Use License
n8n logo
Dev, Git & Automation

n8n

WindowsLinuxmacOSDocker

Self-hosted AI & workflow automation (Zapier + Make alternative).

:5678 • $350+/yrSetup Guide →
Portainer CE preview screenshot
Zlib
PO
Dev, Git & Automation

Portainer CE

WindowsLinuxmacOSDocker

Visual web UI to manage all your Docker containers & stacks.

:9443 • $100+/yrSetup Guide →