Gitea
Developer ToolsSelf-hosted, lightweight Git service with built-in CI/CD.
Gitea is a lightweight, community-managed Git service you fully own, offering repository hosting, issues, pull requests, a package registry and built-in CI/CD via Gitea Actions (GitHub Actions-compatible syntax). Its single Go binary starts in seconds and stays light enough to run comfortably on a Raspberry Pi.
What Gitea is good for
- Keeping private repositories, dotfiles and infrastructure code on your own server.
- Mirroring GitHub or GitLab repositories as a local backup.
- Running CI pipelines with Gitea Actions, using workflow files close to GitHub Actions syntax.
- Hosting container images and packages for your homelab in the built-in package registry.
Before you deploy
- Gitea Actions needs a separate runner (act_runner) with access to Docker before workflows can run.
- SSH clone access needs a free port. If port 22 is taken by the host, map Gitea's SSH to another port such as 2222.
- Back up both the data volume and the database. The built-in gitea dump command creates a full archive.
- Forgejo is a community fork of Gitea with similar features. Both work, but switching later takes some migration effort.
Compatibility
Proof of Work Gallery
- Dashboard
- Settings
- Actions
Deployment
services:
server:
image: gitea/gitea:latest
container_name: gitea
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=sqlite3
volumes:
- gitea-data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
volumes:
gitea-data:
Alternative to
GitHub, GitLab SaaS, Bitbucket Cloud
Guides featuring Gitea
Related apps
Get new apps and guides by email
One short email when we test a new app or publish a guide. No spam, unsubscribe any time.