this post was submitted on 11 Aug 2023
109 points (94.3% liked)

Selfhosted

40018 readers
689 users here now

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!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] Dirk@lemmy.ml 54 points 1 year ago (3 children)

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.

[–] thecam@lemmy.world 11 points 1 year ago (2 children)

I also recommend forgejo. They are also working on adding a federation feature to forgejo just like Lemmy has!

[–] Anafroj@sh.itjust.works 2 points 1 year ago

It's coming to Gitlab too! (although, this will take quite some time)

[–] lambda@programming.dev 1 points 1 year ago (1 children)

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

[–] thecam@lemmy.world -1 points 1 year ago

I imagine users, comments and perhaps pull requests.

[–] pe1uca@lemmy.pe1uca.dev 9 points 1 year ago

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)

[–] onelikeandidie@lemmy.world 4 points 1 year ago

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.