Forgejo¶
Overview¶
Forgejo is a lightweight, self-hosted Git service that provides version control, collaboration, and issue tracking. It's a community-driven fork designed to be lightweight and easy to self-host.
| Property | Value |
|---|---|
| Namespace | forgejo |
| Deployment Type | Kustomize |
| Status | ✅ Active |
| Source | apps/base/forgejo |
Architecture¶
Internet
↓
Traefik Ingress
↓
Forgejo Pod(s)
↓
Git Repository Storage
↓
Persistent Volume
Features¶
- Lightweight Git service
- User repositories and organizations
- Issue tracking and milestones
- Pull requests and code review
- Webhook support
- API for automation
- User management and permissions
- Team collaboration
Prerequisites¶
- Persistent storage for repositories
- SSH support for Git access
- Optional: Database (SQLite included by default)
Resources¶
| Resource | Requirement | Notes |
|---|---|---|
| CPU | 500m | Moderate |
| Memory | 512Mi | Base requirement |
| Storage | 20Gi+ | Git repositories |
Networking¶
- Internal Port: 3000 (HTTP), 22 (SSH)
- Ingress: Traefik routing
- DNS: forgejo.yourdomain.com or git.yourdomain.com
- SSH: Direct access or via proxy
Files¶
User Management¶
- Built-in user creation
- Organization support
- Role-based access control
- SSH key management
Testing and Development¶
Perfect for: - Internal project hosting - Team collaboration - Educational purposes - Self-hosted Git alternative
Links¶
- Official Site: https://forgejo.org/
- GitHub: https://github.com/forgej-io/forgejo
- Documentation: https://forgejo.org/docs/latest/
- Kustomization: apps/base/forgejo/kustomization.yaml