Gitea
A painless, self-hosted all-in-one software-development service and a lightweight alternative to GitHub and GitLab. Gitea provides Git hosting, code review, issues and pull requests, a package registry, and built-in Actions-compatible CI/CD from a single Go binary that comfortably runs in under 512 MB of RAM.
Overview
Description
Gitea is a painless, self-hosted all-in-one software-development service and a lightweight alternative to GitHub and GitLab. Written in Go, it ships as a single binary (or small container) and runs comfortably in under 512 MB of RAM, making it practical for home labs, small teams, and CI runners alike. The web UI closely mirrors GitHub, so contributors are productive from day one, while everything — code, issues, packages, pipelines — stays on infrastructure you own.
Features
- Git hosting: Repositories, branches, protected branches, mirrors, and LFS.
- Collaboration: Pull requests, code review, issues, labels, milestones, projects, and wikis.
- Gitea Actions: CI/CD with GitHub Actions-compatible workflow syntax.
- Package registry: Container, npm, Maven, PyPI, NuGet, and more from the same instance.
- Organizations and teams: Fine-grained permissions and SSO via OAuth2/LDAP/SAML.
- Lightweight: SQLite for small setups; MySQL/PostgreSQL for larger ones.
Technology Stack
- Go backend
- Vue.js / TypeScript front end
- SQLite, MySQL, or PostgreSQL
- Single binary or Docker
Requirements
- A server or container runtime; 1 GB RAM is ample for small teams
- SQLite (bundled) or an external database for larger instances
- A reverse proxy with TLS and SSH access for Git operations
Categories
Topics
Learning resources
Self-host your own Git platform! // Gitea Tutorial
A walkthrough of deploying Gitea with Docker, configuring the reverse proxy and SSH, and creating your first organization and repository.
By Christian Lempa · Invalid Date
ArticleInstallation with Docker
The official guide to running Gitea with Docker Compose: image selection, volumes, database options, SSH pass-through, and first-run administrator setup.
By Gitea · Invalid Date