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?

mariom
link
fedilink
English
101Y

Forgejo. Gitlab will be overkill probably.

@Vilian@lemmy.ca
link
fedilink
English
211Y

gitlab can be selfhosted

@herrvogel@lemmy.world
link
fedilink
English
6
edit-2
1Y

And is hilariously overkill for what OP seems to want. It’s a pretty large and heavy package that comes with a whole lot of (for OP unnecessary) features.

andrew
link
fedilink
English
31Y

My experience was that they were definitely overkill until they weren’t, and I was glad to be comfortable in the UI when I wanted to start playing with more advanced features. Something like the sameersbn/gitlab docker image can get you started and grow with you a ton.

newIdentity
link
fedilink
English
151Y

GitLab or GitTea

skimm
link
fedilink
English
21Y

Since I haven’t seen it mentioned yet, I’ve been using Soft Serve on my server. Just a git server with terminal UI and easy to manage.

Gogs and Gitea are git alternatives that offers GitLab features with less system resource demands.

Though, it would be good to understand your use case, whereby a GitHub private repository would not be suitable…

It now also comes with Gitea Actions and the Act Runner - in case this feature is relevant to you.

@damnthefilibuster@lemmy.world
creator
link
fedilink
English
21Y

Wow, no one till now mentioned Gitea has a runner and actions. Thanks!

@schmurian@lsmu.schmurian.xyz
link
fedilink
English
2
edit-2
1Y

Yeah, I don‘t know if they have finally anounced it officially, but they mentioned it in their blog post in March. I‘ve installed it, and it works quite well for my usecase.

adr1an
link
fedilink
English
91Y

onedev.io wasn’t mentioned.

Also, be aware that gitea was forked by the community into forgejo because of reasons.

@wer2@lemm.ee
link
fedilink
English
11Y

I have liked onedev so far.

𝘋𝘪𝘳𝘬
link
fedilink
English
551Y

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.

https://forgejo.org/

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, I’ve been using it for a while for my personal projects and the ui is still beautiful while being a simple git server at the same time.

Cam
link
fedilink
English
121Y

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)

λλλ
link
fedilink
English
11Y

What does federation do here? Will it sync repos? Or just users and comments?

Cam
link
fedilink
English
-11Y

I imagine users, comments and perhaps pull requests.

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)

https://about.gitea.com/ is a great lightweight alternative that’s heavily inspired by GitHub.

@melchiorbv@lemm.ee
link
fedilink
English
21Y

I self-host Gitea and is pretty lightweight and low maintenance. Great solution!

@blackbarn@lemm.ee
link
fedilink
English
81Y

I’m using Gitea. Pretty simple and a decent feature set.

@mholiv@lemmy.world
link
fedilink
English
91Y

+1 For Gitea. Works really well for me. It recently added GitHub style actors so you can use GitHub style CI/CD too!

Nimmo
link
fedilink
English
111Y

I personally use gitea but there is also a community version of gitlab that has way more power than I need.

Gitea can import a repo from GitHub but I don’t know whether it can also push updates out as one never tried to do that.

I picked gitea as I didn’t need all of the extra power of gitlab and they were the first two options I found. I don’t deploy it using portainer but all of my stacks are set up as git repos in portainer and using the webhook feature it’ll auto pull and redeploy whenever I push to it

@cancanman@lemmy.world
link
fedilink
English
241Y

I’m using GItea and it’s been working great. Very easy to set up in docker.

@Rearsays@lemmy.ml
link
fedilink
English
41Y

Forgejo

fnv
link
fedilink
English
01Y

Unfortunately not available on TrueNAS

@Rearsays@lemmy.ml
link
fedilink
English
31Y

Everything is you just must first learn docker

fnv
link
fedilink
English
1
edit-2
1Y

Heh, I was running linux with docker on top of Trunas for several months because of Jellyfin was not available to run in jail. I was not happy because it wasted the server resources and also my resources to maintain it. I don’t want go such way again.
Happy running gitea in jail and when forgejo will be also available in jail I will probably move to its.

@nebs@lemm.ee
link
fedilink
English
11Y

Why instead of gitea though? I thought the “for profit” stuff was only to provide the original developers of gitea the ability to provide paid support to commercial clients.

@nbafantest@lemmy.world
link
fedilink
English
31Y

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.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog