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?

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    English
    arrow-up
    19
    arrow-down
    1
    ·
    1 year ago

    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.

    • Cam@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

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

    • onelikeandidie@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      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.

          • fnv@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            1 year ago

            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.

  • Aux@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    Why do you want that? Plain git can do everything you actually need.

  • mholiv@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

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

  • nbafantest@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I’d probably just run gitlab and use the gitlab images, as that’s one of the solutions git recommends