I have installed Bitnami Gitlab 10.1.4 from Cloud Launcher in Google Cloud Platform in a Debian 8.9 OS.
I have a problem trying to update the external_url parameter in the config file /etc/gitlab/gitlab.rb with a hostname.
When I change it and reconfigure Gitlab this works, but after I reboot the instance, the external_url parameter is overwritten with the instance external IP address. I know there must be some kind of init script that is overwriting this setting but I am trying to figure out by myself where this must to be changed. Doing so I have set some environment variable but this not worked:
I tried with GITLAB_HOST, refeered in /opt/gitlab/embedded/service/gitlab-rails/doc/administration/environment_variables.md
And with EXTERNAL_URL in /opt/gitlab/embedded/service/omnibus-ctl/upgrade.rb
As I want do this in the best way. Could please you tell me what I have to do in order to this change remains after reboot/shutdown the instance?
Thanks in advance.