Self-host your own Git platform! // GitLab

  Рет қаралды 23,073

Christian Lempa

Christian Lempa

Күн бұрын

Пікірлер: 100
@christianlempa
@christianlempa 2 ай бұрын
Experience a new way to learn with Imprint. Visit imprintapp.com/Lempa to get a 7-day free trial and 20% off an annual subscription.
@ImARichard
@ImARichard 2 ай бұрын
The main reason I run gitlab in my homelab is CI/CD and the built in container registry. I have a pipeline that will, on a successful merge to main, build my multi-arch docker images and push to the local registry, then using a portainer webhook automatically redeploy the application and pull down the latest image. Its wildly unnecessary for the project that has a few dozen to maybe a few hundred users but its fun to do nonetheless.
@akshaynsit
@akshaynsit 2 ай бұрын
I can't believe the incredible timing of this video. I spent the last few days trying to set up gitlab but couldn't get past some redis issues.
@christianlempa
@christianlempa 2 ай бұрын
Oh I hope the video was helpful
@Stevenwaupevon
@Stevenwaupevon 2 ай бұрын
Me also I'm sure he's got drones watching the nerd population
@minifig404
@minifig404 2 ай бұрын
Personally, I'd value the integrated CI/CD over the issue tracking. Issue tracking is just one way of organizing a to-do list that spans multiple projects, and if you have both software and non-software hobbies with multi-project to-do lists, the issue tracker built into git lab might not be enough. But anyone with a home lab can benefit from the automation CI/CD provides.
@tba77
@tba77 2 ай бұрын
Gitlab is my preferred platform gitlab-ci is simple and very efficient. Like you I worked as system admin and made transition to cloud devops so writing infra code and then learned to use git then configure automatic tasks deployment etc and a self hosted gitlab was the tool to do all of this I also setup self hosted gitlab for my former company. Very good video
@christianlempa
@christianlempa 2 ай бұрын
Thank you so much 🙏
@mxc2007
@mxc2007 2 ай бұрын
Gitea with actions is amazing.
@christianlempa
@christianlempa 2 ай бұрын
💯
@davemeech
@davemeech Ай бұрын
Another reference point for starting my dream homelab up. Amazing stuff, thank you!
@christianlempa
@christianlempa Ай бұрын
Awesome! 👏 thanks for the kind words
@JanTeamHvr
@JanTeamHvr 2 ай бұрын
Looking forward to the comparison of GitLab and Gitea! Imho, GitLab is a little to much for a single-person Homelab. ;D But let's see what's your conclusion. :)
@ISBayHudson
@ISBayHudson 2 ай бұрын
Gitea with Drone CI would be interesting :) Been using Gitlab for work for last 10+ years..... seemed way too overkill for my homelab so settled on Gitea and love it :)
@timsubscriptions3806
@timsubscriptions3806 2 ай бұрын
Love to see you setup a self host Docker Registry 🙏🏻
@sergeygr
@sergeygr 2 ай бұрын
You can have it by running gitlab or gitea. Its a built in feature. Or running as separate platform like "Harbor" or older one called "Portus".
@timsubscriptions3806
@timsubscriptions3806 2 ай бұрын
@@sergeygr Perfect ! I already use Gitea. 😎 Cheers
@blinkitogaming
@blinkitogaming 2 ай бұрын
Really cool stuff. I use my GitLab self hosted instance to deploy configuration files on other VMs on my network via an Ubuntu docker img with Kaniko. Whenever I make a change on a project's config file and commit, that Ubuntu docker img will update those changes to the corresponding files on the VM that is running that service via ssh. So by doing this I can keep tracking the changes I make and also keeping all configs in one place, isolating them in different projects: DNS servers, Homepage config and others. I also have configured my GitLab instance to clone the repos to my GitHub so I can have an extra backup of my configs. For this you also need a GitLab runner.
@MichaelRinghusGertz
@MichaelRinghusGertz 2 ай бұрын
You should create a video about Gitea aswell. And then another video, where you compare the two platforms. That could be super nice.
@christianlempa
@christianlempa 2 ай бұрын
That’s exactly what I’ve planned 😆👍
@maykopetersen5741
@maykopetersen5741 25 күн бұрын
Thank you for this video. You help us so much!!! I'm reading several comments and thinking... If you go to the interview, what do you think a interviewer will ask you: by GitLab or by Gitea? What these companies has certifications? I see that is important for larger companies. A larger company wants you have a experience with tools widely used.
@christianlempa
@christianlempa 25 күн бұрын
Thank you for the great feedback! Indeed, that's one of the reasons why I do what I do and try to cover useful tools instead of the latest and greatest hobby project trends ;)
@maykopetersen5741
@maykopetersen5741 25 күн бұрын
@@christianlempa I you do it wonderfully!
@TonyKirkland
@TonyKirkland 2 ай бұрын
The Commodore 64 shirt is FTW! I still have a Commodore 128... I knew there was a reason I liked you! LOL
@christianlempa
@christianlempa Ай бұрын
Haha nice! :D
@ibrexg
@ibrexg 2 ай бұрын
Great video. It would be nice to add a second part to explain 1. email configuration e.g. for sending notifications to the users and 2. a simple CI/CD setup
@christianlempa
@christianlempa 2 ай бұрын
Hmm not a bad idea! ;)
@ryoh8677
@ryoh8677 2 ай бұрын
I'll be looking forward to seeing the Gitea video, hopefully, you can explain a good way of getting SSH to work behind Traefik
@christianlempa
@christianlempa 2 ай бұрын
Awesome! Of course I’ll do that :)
@johnbaldwin143
@johnbaldwin143 2 ай бұрын
Christian, I do this with all the open source project I work with. Then if the internal changes I make work for me then I push the changes to the origin files. Gitlab works for me. Others may differ in opinion. Additionally I also use etckeeper to version my Linux /etc folder!
@christianlempa
@christianlempa 2 ай бұрын
Awesome! That is nice
@johnbaldwin143
@johnbaldwin143 2 ай бұрын
@@christianlempa It should be the standard. Even for new coders, We never learn without making mistakes and often original thinking provides an alternative to mainstream thinking.
@davidclark6447
@davidclark6447 6 күн бұрын
Greet video. Just an fyi, the free tier is available for ee (not lust ce) and I've seen issues with ce
@christianlempa
@christianlempa 5 күн бұрын
Thanks! Yes I heard that, seems a bit strange :D maybe I'll try that out at some point
@ralumbur
@ralumbur 2 ай бұрын
Thanks for the video. I would have guessed that you also install gitlab in your Kubernetes. How was your decision making process? As Docker because it doesn't need to be scaled? Because it contains a database and you rather not install it in Kubernetes? Or because it is easier to install / maintain?
@christianlempa
@christianlempa 2 ай бұрын
I want to test gitea and decide which one I’m gonna use on my Kubernetes prod system later
@ralumbur
@ralumbur 2 ай бұрын
@@christianlempa I'm looking forward to the comparison. We have been using gitlab self-hosted for more than 8 years and it has always been reliable and stable. I've never tried Gitea before. We are currently also running it in docker because I want to gain some experience with Kubernetes first.
@subzizo091
@subzizo091 24 күн бұрын
thanks for the great content, can you please make a video on setup gitlab on kubernetes with traefik and longhorn
@ewenchan1239
@ewenchan1239 Ай бұрын
I watched this video to the end and also tried to search on your channel -- did you film your gitea video and comparison video yet? Your help is greatly appreciated. Thank you.
@christianlempa
@christianlempa Ай бұрын
Hey! No, I'm still working on the Gitea video, that's planned for december ;)
@ewenchan1239
@ewenchan1239 Ай бұрын
@@christianlempa Thank you. I'm only asking because you had written a comment in response to someone else asking you for a comparison with Gitea. Thanks.
@christianlempa
@christianlempa Ай бұрын
@@ewenchan1239 Oh yeah, so there are 2 videos planned in December, a Gitea tutorial + Gitea vs GitLab comparison, hope that makes sense ;)
@BrentFreyEsq
@BrentFreyEsq 2 ай бұрын
Been waiting for this! Hitting like 15 seconds in. :-D
@christianlempa
@christianlempa 2 ай бұрын
😍
@baguwes
@baguwes 2 ай бұрын
I have been using gitlab self-hosted for couple of years, for experiments CICD before i push to gitlab my company 🤣
@keithnathan568
@keithnathan568 2 ай бұрын
Nice one 🤣🤣🤣🤣🤣
@conganh4176
@conganh4176 Ай бұрын
can you create theme the digital life for sublime text, i like it so much
@DavidC-rt3or
@DavidC-rt3or 2 ай бұрын
Was a little surprised you didn't deploy it into your pi kube cluster. :) Don't forget to setup doing a backup using the docker exec -t gitlab gitlab-backup create for example.
@christianlempa
@christianlempa 2 ай бұрын
Haha yeah I want to look at gitea first and then look what to deploy on my cluster :)
@absynthe.6855
@absynthe.6855 2 ай бұрын
@@christianlempa Check forgejo, it's a Gitea fork.
@stevennicholas5472
@stevennicholas5472 2 ай бұрын
Have you looked at Gitea?
@christianlempa
@christianlempa 2 ай бұрын
Shame on you, you haven’t watched the video until the end 😜
@stevennicholas5472
@stevennicholas5472 2 ай бұрын
@@christianlempa Haha, you got me; so i just watched it to the end. Looking forward to the Gitea episode. One thing i don't like around Docker, is storing data within the actual container. From what i saw, Gitlab seeds its own internal Postgres instance (though this may have just been the way you set it up)? Gitea allows you to map to an external DB, so i have Gitea running with volume mapping, and Postgres running in its own container, with volume mapping. I use YouTrack (free from Jetbrains for small teams) in its own container for managing projects, which Gitea can supposedly interface to (but i haven't set that up). You basically use Issues the same way i do, as a to-do list, and a way to keep track of bugs during the testing cycle, but YouTrack takes care of that for me.
@crazywolf13
@crazywolf13 2 ай бұрын
​@@stevennicholas5472 He explained why he set it up that way, didn't you watch the video?
@crazywolf13
@crazywolf13 2 ай бұрын
@@stevennicholas5472 He explained that in the beginning. Didn't you watch the beginning?
@crazywolf13
@crazywolf13 2 ай бұрын
@@christianlempa Do you also consider looking at forgejo ? Have not looked into the drama too much, but seems like it's also worth a look. Thanks and btw. this video vame at the perfect time, was just yesterday looking at what git hosting plattform to choose.
@FrontLineNerd
@FrontLineNerd 2 ай бұрын
I need to learn how to properly put my mess of scripts into the Git that already exists before I graduate to building my own I think.
@christianlempa
@christianlempa 2 ай бұрын
Sounds like a plan 😂
@mawla14
@mawla14 2 ай бұрын
How do you handle the well known memory leak bug?
@guillaumearchambault905
@guillaumearchambault905 2 ай бұрын
I prefer Gitea for selfhost or small team. Gitlab is very good, but to heavy for me.
@hedgehogform
@hedgehogform 2 ай бұрын
I tried to host a repo over 100gb once. It didn't work at all and crashed the server. I didn't know about lfs back then lol.
@christianlempa
@christianlempa 2 ай бұрын
Wow okay 😅
@rfn900
@rfn900 2 ай бұрын
Gitlab has a lot more features, but it will be an overkill for most homelab use cases because it is bloated AF. Gitea is nice and lean. The extra features are no worth the bloat for most people
@halllo54321
@halllo54321 2 ай бұрын
Gitlab is pog champ
@JeffersonEPessoa
@JeffersonEPessoa 2 ай бұрын
Heat at 30 degrees?? Here in Brazil, in the region where I live, the average is 40 and it easily reaches 48 degrees. KKKKKKK
@christianlempa
@christianlempa 2 ай бұрын
Oh god 😅
@alex.289
@alex.289 2 ай бұрын
Gitea > Gitlab
@MrTidididi
@MrTidididi 2 ай бұрын
Hell yes, facts
@blazer511
@blazer511 2 ай бұрын
Hell no
@San_OO7
@San_OO7 2 ай бұрын
​@@blazer511bro check ram usage it does lack some features of GitHub, but most useful ones are already there like CI CD with gitea actions which are completely drop in compatible with GitHub actions
@silmelumenn
@silmelumenn 2 ай бұрын
Gitea is lightweight, and lacks ton of gitlab features. They are different categories.
@brokstine
@brokstine 2 ай бұрын
Google: Gitea owner drama
@matthewlandon1697
@matthewlandon1697 2 ай бұрын
First 🎉
@floriantthebault521
@floriantthebault521 2 ай бұрын
Is that still a challenge in 2024 ?
@Sven_-
@Sven_- 2 ай бұрын
🤪
@tylersmith8662
@tylersmith8662 6 күн бұрын
Thoroughly enjoy your videos, I watch them all the time, but it blows my mind how you just end up faking it sometimes. IF this configuration works, it's relying on other configured services in your traefik config. This setup even copied exactly onto a brand new docker instance. Along with your traefik container tutorial, just plain out doesn't work. I do have other containers routing through traefik. Just not gitlab. Apparently there is some issue with it not wanting to allow that to happen.
@smallclover
@smallclover 2 ай бұрын
But why Gitlab and not Gitea or Forgejo? Is there a specific reason?
@p30mehrdad
@p30mehrdad 2 ай бұрын
after 5 years, now I say: gitea is mutch better than gitlab.
@chandradenny
@chandradenny Ай бұрын
In what way?
@ariadataco6005
@ariadataco6005 Ай бұрын
​@@chandradenny Lightweight, Simpler Interface,Easy Installation and Maintenance,Faster Performance , Its based on Golang!! (not ruby!!!) , and also after 100 projects It does not need atleast 16GB of RAM!!! it works even with 512 MB
@azzazkhansiddiqui
@azzazkhansiddiqui Ай бұрын
Your videos are informative but you move your mouse way too much and it makes me sick
@gasynormand8371
@gasynormand8371 2 ай бұрын
Hi Christian, Could you please tell where we can find the traefik compose.yml that you're using and also any external config file like traefik.yml
@christianlempa
@christianlempa 2 ай бұрын
You find it on my homelab GitHub repo! But I’ll make soon an updated traefik tutorial as well :)
@gasynormand8371
@gasynormand8371 2 ай бұрын
@@christianlempa Thank you ! I'm looking forward to see your updated tutorial on traefik and also your Authentik configuration over gitlab. I've learnt so much watching your videos !
@Serizon_
@Serizon_ 2 ай бұрын
codeberg / forejo ?
Secure your HomeLab for FREE // Wazuh
33:59
Christian Lempa
Рет қаралды 71 М.
Host Your Own AI Code Assistant with Docker, Ollama and Continue!
17:49
Wolfgang's Channel
Рет қаралды 95 М.
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 14 МЛН
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 57 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 6 МЛН
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 40 МЛН
Linus Torvalds: Speaks on Hype and the Future of AI
9:02
SavvyNik
Рет қаралды 259 М.
host ALL your AI locally
24:20
NetworkChuck
Рет қаралды 1,3 МЛН
Mondoo: A Comprehensive Security and Compliance Tool
18:03
Infralovers GmbH
Рет қаралды 7 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 645 М.
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 2,1 МЛН
18 Weird and Wonderful ways I use Docker
26:18
NetworkChuck
Рет қаралды 364 М.
Why More People Dont Use Linux
18:51
ThePrimeTime
Рет қаралды 304 М.
How to protect Linux from Hackers // My server security strategy!
30:39
Christian Lempa
Рет қаралды 227 М.
Simple HTTPs for Docker! // Traefik Tutorial (updated)
38:06
Christian Lempa
Рет қаралды 31 М.
Never install locally
5:45
Coderized
Рет қаралды 1,9 МЛН
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 14 МЛН