Self-Host with Docker · Yantr
Gitea Mirror
Automatically mirror GitHub repositories to your self-hosted Gitea or Forgejo instance with a sleek web dashboard.
About
Gitea Mirror is a self-hosted tool that automatically synchronizes GitHub repositories — including public, private, and starred repos — to a Gitea or Forgejo instance. It offers a real-time dashboard, scheduled mirroring with configurable intervals, full metadata mirroring (issues, pull requests, labels, milestones, wikis, releases), Git LFS support, and organization mirroring with flexible destination strategies. Authentication supports email/password, SSO/OIDC, and reverse-proxy header auth. Tokens are encrypted at rest with AES-256-GCM. Ideal for keeping an offline or self-hosted backup of your entire GitHub presence.
How to Self-Host Gitea Mirror
Gitea Mirror can be deployed with standard Docker Compose using the Yantr app catalog. This page collects the basic information searchers usually need first: what Gitea Mirror does, which Docker image Yantr uses, default ports, dependencies, and where to find the original compose template.
If you searched for Gitea Mirror Docker, Gitea Mirror Docker Compose, or self-host Gitea Mirror, this page is the direct landing page for that app in Yantr's catalog.
Use Cases
- Keep a complete backup of all your GitHub repositories on your own Gitea server, updated automatically on a schedule.
- Mirror entire GitHub organizations to Gitea with flexible destination strategies (preserve structure, single org, or flat user).
- Sync issues, pull requests, labels, milestones, and wikis alongside code for a full metadata backup.
- Use as a disaster-recovery solution so your code remains accessible even if GitHub is unavailable.
Technical Details
Ports
| Port | Protocol | Label |
|---|---|---|
| 4321 | HTTP | Web UI |
Docker Image
ghcr.io/raylabshq/gitea-mirror:latest
Service Name
gitea-mirror
Notes
- → First user to sign up becomes the admin — secure the instance immediately after first launch
- → Set BETTER_AUTH_SECRET to a long random string in production for secure session signing
- → Configure GitHub token and Gitea connection through the web UI after starting
- → Supports automatic repo discovery and cleanup of repos deleted from GitHub (v3.4.0+)
- → Git LFS mirroring requires LFS to be enabled on your Gitea server
Related Apps
Linkwarden
Self-hosted bookmark manager with full-text search, archiving, and collaboration features.
OpenClaw
Personal AI assistant — Gateway control plane with multi-channel inbox (WhatsApp, Telegram, Slack...
LibreSpeed
Self-hosted internet speed test with detailed metrics and no tracking.
More App Pages
Explore the full app catalog for more self-hosted services, alternatives, and dependencies that work alongside Gitea Mirror.
Page generated 2026-03-06T16:43:27.553Z