Skip to content

"Host your own GitHub" using Gitlab and Dokku

blog.bytemark.co.uk
23 pointstechnicalfault17 comments
On HN

Comments

Git does not require a singular centralized repository and embraces decentralization. I like how hosting your own repository is embraced by the overall design of git. "Host your own Github" should most definitely be the norm vs having a github/sourceforge/google code that everyone relies on being up. I wish that everyone running their own repositories while pulling directly from others was the defacto standard, that way no one can use the excuse "$repository / $service is down I'll submit it later".

While I agree with the sentiment, I think having a centralised repository, such as Github, creates a more social environment for sharing projects. If everyone had their own "Github", I can imagine the sharing and collaboration of open source projects would become more difficult to manage.

Unless of course there was a service that, while didn't host Git repositories, did everything else that Github offers.

Unless there is?

.. unless the social machinery were also decentralised?

(To a certain extent, this is true of the environment git was born to serve, Linux kernel development; the social environment was the linux-kernel mailing list)

For those interested on an alternative Gitlab install, someone contributed this using Vagrant and Puppet: https://community.exoscale.ch/compute/tutorials/devtools/dep...

Can be provisioned on any supported Vagrant destination, not only ours.

Why even use Dokku? There's an off-the-shelf Gitlab image on DigitalOcean that works just great.

Not everyone trusts DigitalOcean for their hosting.

Bitnami hosted on AWS? Or a Bitnami image hosted on your own server?

There's certain to be one on AWS and likely other providers.

I second this; while Dokku sounds like a great way to ship your own fleet of applications (Heroku style), I'm not sure I see any benefit in using it to deploy GitLab. There are already images working on the main cloud providers and it seems to me a bit overkill for something you'd update once every few months at best.

Also, Gitblit[0] if you want to run on your own machine.

Full installation instructions: Unzip, run.

0 http://gitblit.org/

GitLab B.V. CEO here, please let me know if there are any questions.

I use Gitlab CE in my company, and it runs smoothly. Especially thanks for the painless upgrade script.

I have one question about the UI, your default font color (light gray) and size is sometimes too hard to read, could you add more themes to customize them?

I like the idea of hosting my own web-accessible repository, but am most familiar with Mercurial. Does GitLab support non-Git repositories, or is there an alternative that does?

RhodeCode supports both Git and Mercurial.

Gitlab seems to be another one of those "half-open" source projects where an arbitrary set of features is only available in the "Enterprise" edition. - https://www.gitlab.com/gitlab-ee/

GitLab B.V. CEO here. You are correct that we have a community and enterprise version of the software. The vast majority of features is available in the community version https://www.gitlab.com/gitlab-ce-features/ and many organizations run it with thousands of users.

So, what is your policy for when a contributing developer sends you a pull request that adds an enterprise edition feature to your community edition?

Ignore them?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.