Gitlab gets a lot of love around here on Hacker News. I'm sure there's a lot of people setting up their own servers and maybe running into some questions/problems around setting up Docker-in-Docker style builds. There's some information out there, but I decided to put together a comprehensive-ish guide that maybe could be of use. Let me know if you have any questions!