Folks,
I’m looking for a self-hosted GitHub alternative that I can just plop into Portainer as a docker-compose and get working.
My main interest is in something that sort of works with GitHub - if there’s a way I can pull repos from GitHub into this self-hosted git using a webUI and maybe even push my changes to repos on GitHub, that would be nice. I’m not hard-and-fast on this though as this is mostly an experiment right now and I don’t know why I need this.
What are you folks using to host your super secret local code and why?
Why do you want that? Plain git can do everything you actually need.
What? Gitea. Gitlab is a complete devops platform. Awesome, but complete overkill.
Why? Because I regularly commit code atrocities and have a hard enough time dealing with imposter syndrome, I don’t need to add public shaming on top of it (And just data sovereignty I guess)
Gitlab can be registration only, so noone else can see your code crimes (when self-hosted)
Code crimes. It’s kind of a weird feeling to not know you are guilty of something until you see a name for it.
I’m sure I’ve committed many code crimes. But the one that should send someone to jail that I’ve personally seen was when I found an eval in production code that was actively being exploited. Put up a PR to fix it and was given a very hush hush meeting that it was there intentionally to fix production data issues secretly because the bureaucracy made it hard to do lol. I just kept my mouth shut and eventually used it once myself.
Have a look at Forgejo which is a soft fork run by a nonprofit organization of Gitea which is owned by a for-profit company.
It need very little system resources and still gives you all the common features you know from commercial Git hosting providers.
And yes, you can mirror existing Git repos using a web UI.
I also recommend forgejo. They are also working on adding a federation feature to forgejo just like Lemmy has!
It’s coming to Gitlab too! (although, this will take quite some time)
What does federation do here? Will it sync repos? Or just users and comments?
And forgejo runner is basically github actions, I just started automating a lot of my personal projects. (it’s in alpha state, but my basic actions haven’t had any problems)
I’d probably just run gitlab and use the gitlab images, as that’s one of the solutions git recommends
Another +1 for gitea. It works quite well and is easy to setup.