Dev Toolsdocker-ready1-click-deploypermissive-license
Gitea: the best Open Source alternative to GitHub in 2026
Gitea is a lightweight Git platform with issues, pull requests, wiki and built-in Actions, built for teams who want their own self-hosted GitHub with very few resources.
Technical profile
- License
- MIT
- Category
- Dev Tools
- Replaces
- GitHub
- Tech stack
- GoPostgreSQL
Preview

Public image provided by Gitea on its own website.
Key features
- Built-in issues, PRs and wiki
- Gitea Actions compatible with GitHub Actions
- Very low resource usage
Gitea vs. GitHub
Pros
- Runs perfectly on a 1GB RAM VPS
Things to consider
- Smaller integration ecosystem than GitHub
Quick Docker installation guide
Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →
docker-compose.yml
version: "3.9"
services:
gitea:
image: gitea/gitea:latest
restart: unless-stopped
ports:
- "3000:3000"
- "222:22"
environment:
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=gitea-db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
volumes:
- gitea_data:/data
depends_on:
- gitea-db
gitea-db:
image: postgres:15-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
volumes:
- gitea_pg_data:/var/lib/postgresql/data
volumes:
gitea_data:
gitea_pg_data: