external_url changes when stopped and restarted on azure
Summary
We are running Gitlab EE on Azure, and followed the official guide. If we stop the VM in the Azure panel and start it again, the external_url in the gitlab.rb is changed to external_url "https://ip.ip.ip.ip" (public ip).
Steps to reproduce
- Setup VM as descriped in the guide https://docs.gitlab.com/ee/install/azure/
- change the external_url to the custom domain e.g gitlab.yourdomain.com
- stop the vm in the azure virtual machine panel
- start the vm in the azure virtual machine panel
What is the current bug behavior?
external_url has the public ip after stop/restart.
What is the expected correct behavior?
external_url should not change
Relevant logs
Relevant logs
Details of package version
Provide the package version installation details
dpkg-query -l "gitlab-*" Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-============================================================ un gitlab-ce (no description available) ii gitlab-ee 14.0.6-ee.0 amd64 GitLab Enterprise Edition (including NGINX, Postgres, Redis)
Environment details
https://azuremarketplace.microsoft.com/en-us/marketplace/apps/gitlabinc1586447921813.gitlabee