Random but does anyone have experienced with hosting your own git server together with a frontend?
I don't want to solely rely on GitHub.

I've tried gitlab before but was put off by the ridiculous amounts of resources it needed.
Been thinking about gogs for a while

  • 4
    You could self host gitea. @Condor might have some tips and info about that though google should suffice. Gitea is pretty good and does not require a lot of resources. It does not have built in CI if you need that. You will need to use some external service or self host CI.

    I havent used gitea a lot so no tips from my side
  • 0
    @Sony-wf-1000xm3 I've heard of gitea but haven't looked at it much, thanks for the suggestion
  • 2
    Git also has an own webinterface. It is rather simplistic, but does its job.

    The git book mentions how to set it up: https://git-scm.com/book/en/...

    Anyway, I can recommend gitea, too, it is a gogs fork.
  • 3
    Gitea with DroneCI. The almost perfect self hosted git solution.
  • 0
    @Sony-wf-1000xm3 yep, Gitea is what I'm using for https://git.ghnou.su. Do keep in mind however that while the binary is extremely lightweight, its memory consumption is not. 512MB - the default memory limit for my LXC containers - ended up not being sufficient. It ended up being OOM killed by the kernel all the time. Raising the memory limit to 1GB solved the issue. You'll also want to write a unit file for your init to have it autostart - there is documentation for this but I just wrote my own. It runs as the user git and runs the binary in its home directory. The port that the web interface listens on is 8080, you can add a capability to the binary if you want to run it on port 80. I'd consider a reverse proxy a better idea for this however.
  • 0
    @LotsOfCaffeine How is it going so far.
  • 0
    @Sony-wf-1000xm3 uh not going at all, I'm moving to a new place so no time for nerd stuff
Add Comment