Gitea -- Mirror GitHub projects plus a simple to use registry
Daniel Nashed – 22 July 2026 05:08:11
This project is pretty cool. It isn't only a git server implementation but offers to interesting options.
https://about.gitea.com/products/gitea/
Git Repository Mirror
In contrast to some other free editions of Git servers like GitLab community edition, it allows to mirror public Git projects in your own environment.
This is specially interesting when you don't want to let your servers access the internet and want to control which projects are used inside your company.
The mirror option is part of the "migration" feature and allows you to simply mirror any repository.
Simple to use Container Registry
For larger environments probably the Harbor registry would be the better fit.
But it you only want to host a couple of images, the Gitea container registry works pretty well.
The whole Gitea server is very resource optimized and runs from a single Go binary. Either natively or in a container.
You are up in a minute running it as Docker container for example. The configuration is straightforward. And just needs a reverse proxy like NGINX or Traefik for TLS.
For a simple test I set it up without TLS and on port 3000.
docker push git.lab.nashcom.de:3000/nashcom/domino:latest
On purpose for the screen shots I used a version without TLS to show it's flexibility.
But in production you should leverage TLS and use port 443.
This setup took me a minute. The Docker image already had the container registry configured out of the box.
The container image is Alpine Linux based and the whole environment is very resource optimized in contrast to some larger projects.
I looked at Gitea earlier and liked it already.
But I never looked for the container registry part, which also works very well.
I have already a small compose stack for Gitea in one of my projects.
But maybe it would make sense to add it to my start script repository including a proxy setup. But it would run behind any load-balancer to offload TLS.
- Comments [0]