Gogs - a lightweight alternative to Gitlab

If you need to self-hosted and lightweight Github or Gitlab alternative, I suggest you give Gogs a try.

Gogs provides Docker images here: https://hub.docker.com/r/gogs/gogs/

Start the image, put a reverse proxy in front, secure the whole thing with Let’s Encrypt, and you should be up and running in a couple of minutes.

If you’re hosting a couple of repos and a few users, you can use a sqlite backend.

You can also use Postgres or Mysql databases.

There’s a fork of Gogs called Gitea: https://gitea.io

I have the feeling Gitea is not actively maintained anymore. For example the demo site has been down for a while now.




Thanks for reading this post!


Did you find an issue in this article?

- click on the following Github link
- log into Github with your account
- click on the line number containing the error
- click on the "..." button
- choose "Reference in new issue"
- add a title and your comment
- click "Submit new issue"

Your feedback is much appreciated! πŸ€œπŸΌπŸ€›πŸΌ

You can also drop me a line below!