News for hackers. Stuff that matters.
Re:Docker GitLab by sytse on Friday April 24, 2015 @09:49PM (#9436844)
This image is very good but we recommend the one based on the Omnibus Packages https://gitlab.com/gitlab-org/gitlab-ce/tree/master/docker

I plan to make these official on Dockerhub over the weekend. But if there are vulunteers that want to keep them up to date that would be perfect.

Re:Docker GitLab by teraflop on Saturday April 25, 2015 @12:28AM (#9437198)
Out of curiosity, why do you recommend running an Omnibus container instead of separate containers for Gitlab, Postgres and Redis?

It seems like it only gains a tiny bit of convenience (one "docker run" command instead of three), and you lose a lot of flexibility to move things around and reconfigure later on. What if I want to run multiple frontend instances, or keep a warm standby database replica?

Re:Docker GitLab by sytse on Saturday April 25, 2015 @12:44AM (#9437231)
The main reason is that the Omnibus package setup has additional logic to respawn workers that are using too much memory. I also like that it uses a separate data container to store everything.
Re:Docker GitLab by codereflection on Saturday April 25, 2015 @11:35AM (#9438581)
In the https://github.com/sameersbn/docker-gitlab container, you can mount volumes from the Docker host to store data as well, and it also uses linked containers for Redis and Postgres.

The respawn workers logic does seem important though. Does the manual gitlab install also handle situation?

Re:Docker GitLab by sytse on Saturday April 25, 2015 @11:47AM (#9438616)
No, the manual install doesn't handle that. It requires Runit if I remember correctly.
Re:Docker GitLab by nickstinemates on Friday April 24, 2015 @10:04PM (#9436886)
Send me an email - [email protected] - I'll make sure you get connected to the right team.
Re:Docker GitLab by sytse on Friday April 24, 2015 @10:07PM (#9436894)
Thanks! Just send you an email.
Re:Docker GitLab by mrmondo on Saturday April 25, 2015 @01:48AM (#9437382)
The official omnibus packages do work very nicely - I can't say I've had any problem with them since they came out!
Re:Docker GitLab by sytse on Saturday April 25, 2015 @02:04AM (#9437424)
Good to hear that!
Re:Docker GitLab by api on Friday April 24, 2015 @09:54PM (#9436868)
I like http://gogs.io/ better. Trivial to install and works great.
Re:Docker GitLab by girvo on Saturday April 25, 2015 @12:38AM (#9437217)
As do I, Gogs was amazing at my previous place of employment; I migrated our team from BitBucket over to it, self-hosted on AWS. The nicest part of it was that its deployment is so simple, and it's architecture and file structure easy to understand that setting up a backup and restore workflow in case something happened to the instance was one of the easiest things I've done in that sort of domain. Dump the database, send the files and dump to S3, also download it to a local server not on AWS just in case and have a small bash script to restore everything if it goes pear shaped. Testing the backup restore showed that 99% of the time taken was waiting on the new instance to start-up, which if we wanted higher uptime could be simply solved using horizontal scaling across AZs or data centres. The entire process almost made me want to become a sysadmin... Almost!
Re:Docker GitLab by sytse on Saturday April 25, 2015 @12:51AM (#9437246)
I understand you also prefer Gogs to GitLab, mainly because of the easy of performing backups. Have you run into problems with GitLab backups? Did you use our raketask that supports backups to s3? http://doc.gitlab.com/ce/raketasks/backup_restore.html
Re:Docker GitLab by girvo on Saturday April 25, 2015 @04:55AM (#9437719)
Back when I used GitLab (version 3), a lot of the nice things you have now didn't really exist then. The biggest argument for Gogs instead of GitLab is that despite it lacking features compared to GitLab, the much smaller amount of moving parts make it simpler to deal with. That said, GitLab is an excellent product, Gogs is just simpler in a lot of ways, which when you're dealing with a team of 10 instead of 100 and I'm the person looking after it (and thus writing the documentation for how to manage it) makes it a better choice for that use-case :)
Re:Docker GitLab by sytse on Saturday April 25, 2015 @11:51AM (#9438633)
Thanks Josh, that makes sense. I'm sure that if you install and use GitLab now it will be a completely different experience, GitLab 3 was 1 year old, GitLab 7.10 is 3.5 years old. It should be much easier to deal with now.
Re:Docker GitLab by sytse on Friday April 24, 2015 @10:05PM (#9436888)
Have you tried the Omnibus packages for GitLab by any chance? We launched a package server for them two days ago: https://about.gitlab.com/2015/04/22/gitlab-7-10-released/ Installation should take only two commands and two minutes.
Re:Docker GitLab by archivator on Friday April 24, 2015 @08:56PM (#9436729)
I love how much longer the documentation is than the actual file. That said, I'm also somewhat wary of using forked pgsql and ubuntu images.
Re:Docker GitLab by general_failure on Friday April 24, 2015 @10:42PM (#9436969)
A big issue with these docker images is that nobody can vouch for their quality.
Re:Docker GitLab by sytse on Friday April 24, 2015 @10:52PM (#9436991)
GitLab CEO here, the quality of this image is very high, we listed it on https://about.gitlab.com/installation/

Still we recommend people use an Omnibus based image, see https://gitlab.com/gitlab-org/gitlab-ce/tree/master/docker

I agree it is hard to know what image is good, I'm working on an official docker image (with 'gitlab' as a group on Docker Hub) to remedy that.

Re:Docker GitLab by mijoharas on Saturday April 25, 2015 @10:09AM (#9438331)
Got to say, I love that you're active on HN as CEO.

Part of the reason I use and love gitlab is the developer focused nature of your product, glad to see that it extends to the management as well!

Re:Docker GitLab by sytse on Saturday April 25, 2015 @11:52AM (#9438637)
Thanks mijoharas, glad to hear that, I'll try to keep it up!
Re:Docker GitLab by bketelsen on Friday April 24, 2015 @10:21PM (#9436921)
This is one of the best configured and thought-out Docker containers I've ever used. Running this for our project's git repository for several months now, over several upgrades. Really well done.
Re:Docker GitLab by 2pointsomone on Friday April 24, 2015 @10:05PM (#9436887)
And you decided to host this on GitHub?
Re:Docker GitLab by snake_case on Friday April 24, 2015 @10:15PM (#9436912)
This isn't official, not made by the people at GitLab.
Re:Docker GitLab by sytse on Friday April 24, 2015 @10:20PM (#9436918)
Exactly! And we're pretty pragmatic about it. The canonical place of GitLab is at GitLab.com but we also have a GitHub mirror. Bringing back the D in DVCS.