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

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…

Contents