Monday, June 5, 2017

Gitlab server

This gave me some pain! How to set up gitlab server for my team and then be able to use just the IP address and not the DNS name. I had to use the IP address since the network admin policy was that unless a static ethernet cable-based IP address was allotted to my desk they would not be able to provide me DNS name. So until then I decided to use Virtual Box with Bridged-adapter network configuration and then use the IP address that the network switch would allocate to my virtual machine as though it were a separate node in the network to run my gitlab server on.

There was one little thing that took 2 days to figure out.
Where do you set up the IP address for gitlab server?

Add this following line to the file gitlab.rb:

sudo vim /etc/gitlab/gitlab.rb
external_url 'http://xxx.xxx.xxx.xxx'


No comments: