Self-hosted code re...
 
Notifications
Clear all

Self-hosted code repository in the home lab

11 Posts
4 Users
2 Reactions
469 Views
Posts: 15
(@termv)
Eminent Member
Joined: 11 months ago

In my homelab over the years I've run GitLab, the old $10 on-prem license of BitBucket Server, and Gitea.

The old $10 licenses for the Atlassian services like BitBucket and JIRA were king. They're exactly what you can expect to find at pretty much every tech company out there. It's a shame that Atlassian took those licenses away because they provided a way for people to get commercially relevant training and experience on a stack that they're likely going to end up using at their day job.

I started using GitLab when it was available as a package on Synology DSM6. Since those days it has become an *extremely* impressive turnkey development & automation stack. I'd say that GitHub holds the crown right now for the best employment-relevant stack but GitLab is actually keeping pace feature-wise. GitLab is my recommendation for anybody who is very committed self-hosting. Unfortunately I'd say that it's becoming quite bloated and it's not easy system to upgrade. Resource usage is a concern for me because I run my critical dev-stack services as VMs or containers on my Synology NAS. I think generally you need to take a hard look and see if you need such a heavyweight solution at your point in your DevOps journey.

What I'm using right now it Gitea. Gitea excels as an extremely lightweight, fast and simple to operate git server. It does have similar turnkey features as its competition such as issue management, an artifact repository and CI/CD but I'd say they're generations behind. I find the extra features to be workable but they're all disappointing in some way. For example, you can set up a kanban board but the system won't transition issues if you move them along the kanban board. Gitea is perfect for anyone who just needs a git server though. This includes anyone who is integrating other tools (eg Jenkin) instead of going the turnkey route.

Reply
1 Reply
Brandon Lee
Admin
(@brandon-lee)
Joined: 14 years ago

Member
Posts: 395

@termv @t3hbeowulf Awesome insights from you both. I really enjoy see what others are doing and working on and how they have things setup in their home lab. @termv I did have that general opinion of Gitea. I like it, but it did seem to be a bit light on features compared to the more mature solutions like Jenkins and Gitlab. However, I think it is a great idea for anyone to get familiar with multiple solutions just to be comfortable with their ins and outs and quirks.

Reply
Posts: 15
(@termv)
Eminent Member
Joined: 11 months ago

I recently found out about OneDev, which is another competitor in the space. I spent a day doing an install on both Kubernetes and Docker to kick the tires.

I was pretty excited to get it up and running because their issue management system is well integrated with the code repository and the worfklow engine, triggers, tagging are all quite robust and easy to configure. Most people tend to think of git as the most important configuration management component in reality the heart of the system is issue management.

The RAM usage of OneDev is 1.3 gigs for a trivial installation with a single repository imported. My well-populated Gitea server sips only 400MB of RAM. Both systems are extremely well behaved on the CPU at idle.

Unfortunately where OneDev falls down for me is the UX/UI. Gitea is essentially a look-alike for github and therefore benefits from a lot of research and refinement. GitHub's UI feels very unintuitive at times but it is very information dense and makes very good use of screen real estate. OneDev's UI is filled with excessive padding and whitespace and honestly feels like it was designed for tiny test deployments. On a 24" 1920x1200 external monitor it will only show 11 files and 5 issues on the screen at once.  Gitea makes me feel excited to use the tool, while OneDev despite its great feature set does not. That's a real shame!

Reply
1 Reply
Brandon Lee
Admin
(@brandon-lee)
Joined: 14 years ago

Member
Posts: 395

@termv that is another good shout! I haven't played around with OneDev....have seen reference to it before but need to get my hands on it. So far I haven't liked anything better than Gitlab for self-hosting, even though it does way more than I need it to. But open to trying lots of other things.

Reply
Page 2 / 2