Self-host Gitea
v28.3.0Self-hosted Git platform with CI/CD and package registries
- Stars
- 59 094
- Ports
- 3000 (HTTP web interface), 22 (SSH Git access)
docker.gitea.com/giteaWhat is Gitea?
Gitea is a self-hosted Git platform written in Go that provides code hosting, code review, CI/CD compatible with GitHub Actions, and package registries for over 20 formats. It runs on Linux, macOS, Windows, FreeBSD, and Kubernetes across multiple architectures. Installation options include Docker, binary downloads, package managers, and building from source. Supported databases include SQLite, MySQL, PostgreSQL, TiDB, and Microsoft SQL Server. The web interface includes repository management, issues, pull requests, kanban boards, wikis, and an integrated actions runner. Authentication supports built-in accounts, LDAP, OAuth2/OIDC, PAM, SMTP, reverse proxy, and SPNEGO. The core project is MIT-licensed with an optional Enterprise edition adding SAML SSO and audit logs.
Gitea alternatives
kiteSelf-hosted, open-source Kubernetes workspace for multi-cluster management: RBAC, LDAP/OAuth login, Prometheus monitoring, Helm, audit logs, and an AI assistant.Comparekite with Gitea
docker-gha-runnerDocker-based self-hosted GitHub Actions runner with stateless execution, platform emulation, and Docker-in-Docker support.Comparedocker-gha-runner with Gitea
gitbucketA self-hosted, open-source Git platform in Scala: run one war file on Java 17 for repos, issues, pull requests, wiki, LDAP/OIDC logins and GitHub-compatible APIs.Comparegitbucket with Gitea
GitnessAn open-source, self-hosted DevOps platform combining Git code hosting, CI/CD pipelines, Gitspaces dev environments and artifact registries in one Docker container.CompareGitness with Gitea
openchangelogOpenchangelog transforms Markdown changelogs into a beautiful website with search, password protection, themes, RSS, and GitHub/GitLab/Forgejo/local integrations.Compareopenchangelog with Gitea
ZiitZiit is an open-source, self-hosted WakaTime alternative that tracks coding time from IDEs into a clean dashboard with GitHub OAuth and data import.CompareZiit with Gitea
MirrorProxyMirrorProxy is a self-hosted, open-source mirror acceleration gateway for GitHub, Docker/OCI, language packages, and Linux/BSD repos with access control and quotas.CompareMirrorProxy with Gitea
folderhostA self-hosted, open-source cloud platform offering file sharing, real-time collaboration, and user management in a ~19MB binary as a lightweight Nextcloud alternativeComparefolderhost with Gitea
Should you self-host Gitea?
Gitea scores 89/100 on selfhost.directory (how scoring works) and ranks #1 of 15 in Code Hosting. It has 59 094 GitHub stars, +649 in the last 30 days.
It shipped 17 stable releases in the past year. The latest, v28.3.0, came out on 1 November 2026. New versions land roughly every 3 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is Gogs (80/100, 47 938 stars). Gitea scores higher overall. See Gitea vs Gogs side by side.
Features
- CI/CD (Gitea Actions)
- Code Review
- Container Registry
- Git Hosting
- Git LFS
- Issue Tracking
- LDAP Authentication
- Multi-Factor Authentication
- OAuth2/OIDC
- Package Registry
- Project Management
- REST API
- Webhooks
- Wiki
Gitea README
The goal of Gitea is to make the easiest, fastest, and most painless way of setting up a self-hosted all-in-one software development service, including Git hosting, code management, code review, issue tracking, project kanban, wiki, team collaboration, package registry and CI/CD which can reuse GitHub Actions.
More in Code Hosting
- GitLabSelf-hosted, open-core DevOps platform: Git repositories, merge requests, CI/CD pipelines, issue boards, wikis and an integrated container registry in one install.
GitLab-CESelf-hosted, open-source DevOps platform for Git repositories, merge requests, CI/CD pipelines, issue boards and wikis, with free CE and paid Premium/Ultimate tiers.
GitnessAn open-source, self-hosted DevOps platform combining Git code hosting, CI/CD pipelines, Gitspaces dev environments and artifact registries in one Docker container.
GitusGitus is a self-hosted, open-source Git forge in Go with no JavaScript, featuring a web installer, SSH access, issues, pull requests, and experimental webhooks.
GogsA lightweight, open-source, self-hosted Git service written in Go: repos, issues, pull requests, wikis and LDAP login, run from one binary or a Docker image.
harnessSelf-hosted, open-source DevOps platform: Git hosting with pull requests, CI/CD pipelines, Gitspaces dev environments, and Docker and Helm artifact registries.
legitOpen-source, self-hosted browsing UI for Git repos, built in Go: serves bare repositories from a folder with custom templates, README rendering and HTTP cloning.
OneDevOneDev is a powerful and simple DevOps platform that integrates Git server, Kanban, CI/CD, and package registries into a seamless experience.- PagurePagure is a lightweight, git-centered forge for hosting projects with documentation, ticketing, and pull-request mechanisms.
rgitSelf-hosted, open-source Git web interface in Rust using RocksDB caching and gitoxide for fast browsing with dark mode.- RhodeCodeRhodeCode is an open-source, self-hosted platform for unified repository management, supporting Git, Mercurial, and Subversion. It provides enterprise-grade security, code review, workflow automation, and permission management for teams.
Roundup Issue TrackerRoundup is a highly customizable issue-tracking system with command-line, web, REST, XML-RPC, and e-mail interfaces. It is designed to be easy to install and use, and can be adapted to various use cases.










0 comments