From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configure GitLab
From the course: AWS DevOps: Continuous Docker Deployment to AWS Fargate from GitLab
Configure GitLab
- [Trainer] GitLab configuration is managed by a Ruby file that's called gitlab.rb. Our container's going to start up and use a default gitlab.rb file that's based on a template. Let's take a look at this file and configure GitLab. In your SSH session with your GitLab instance type sudo vim /srv/gitlab/config/gitlab.rb and hit Enter. You'll notice that this configuration file has a lot of options to it. The first thing that we're going to want to change is a variable called external_url. So type /external_url and hit Enter. Now this variable shows up multiple times in the file so you may have to use the n key inside of Vim to toggle through the different search options. Here's the line I'm looking for. I'm going to move to the left two spaces, hit X + X and now I've uncommented the line. And then, I can type C + I + single quotes. And now I'm changing everything inside the single quotes and so I'm going to put in my external URL from my GitLab instance, which is…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Gitlab server requirement1m 46s
-
(Locked)
Installing Docker5m 3s
-
(Locked)
Change the SSH Port2m 55s
-
(Locked)
Using a custom domain with GitLab1m 35s
-
(Locked)
Running GitLab in Docker3m 50s
-
(Locked)
Configure GitLab5m 3s
-
(Locked)
GitLab first time setup4m 56s
-
(Locked)
Pushing a container to the registry3m 7s
-
(Locked)
-
-
-
-