Ok, first things first. GitLab is a great piece of service. You will have all things you need for software development under one roof. Anyway, this is good for groups of people, and if you the only one who accessing it going to be overwhelming. And this is 1st main reason (and maybe the only one).
As years go (i hosting it for 5 years) they adding new features each month, but on the other side, it needs more and more resources. (when I started with it runs on 1 GB ram) and now the bare minimum is 8GB (and that’s its price of 40 euro droplet on digital ocean)…
If you self-hosting thing it is not just run and forget. You need to monitor it, making backups. The latter one is another hard to solve for one person. Not about you don’t know how but where do you store those all backups. I keeping only 7 backups in a row (backing up daily) and this is more than 500GB of space just for backups. Ok, most of the services you need to check only when updating but you have to keep in mind “What If?”, “Do I have a disaster recovery plan?” Or you just hosing those services until the first problem and then just throwing them out and start from zero? How do you monitor/backup them? Feel free to contact me.
The last thing is that I just using only GIT and pages from all these things the GitLab brings to you. The nice thing about GIT is that you can create a bare repo in the filesystem (as the folder) and then back up it. Or since it to Cloud (OneDrive, Google, and for those who are privacy-based you can still use NextCloud). So if you don’t need a graphical interface you are free to use this solution.
The Pages - if you used GitLab or GitHub you know how elegant is solution just push to the repo and it does all that things (build, upload …) for you. You can still use GitHub pages or something else. Or Build and push manually to s3 storage. I am personally tired combination of Cloudflare (for HTTPS) and Microsoft’s Azure object storage. I found some people are telling about privacy and they want to host their data… Think yourself: what privacy we are talking about here? Pages are public on the internet so do you think only you own your data? What do you want to protect? Stop users against copying your blog posts? Keep doing it… cross fingers.
And yes other solutions are not that resource-hungry (Gitea, GoGS). But this is another service to manage. And now if I’m counting it right I self-host / manage it is around 15 services including my email (MS365 Exchange and some at Migadu which planing to move but this is an idea on another blog post), MDM, DLP, Active directory + AzureAD (my devices serve as a model when I want to show customers how things works), Mastodon Instance, NextCloud and some more.
If you have more solutions and you can discuss them you can contact me on my mastodon account
2021-03-07 09:06 +0000 (Last updated: 2021-09-03 07:10 +0000)
ccba0a8 @ 2021-09-03
This post is part of dev diaries series.