Can't change default repo URL

I just have deployed GitLab CE 10.7.1 in Docker.
Right after deploy was finished and GitLab started to reply via HTTP, I edited gitlab.rb (docker exec -it gitlab nano /etc/gitlab/gitlab.rb) and changed external_url and gitlab_rails['gitlab_ssh_host'] to instance IP.
After that I run docker exec -it gitlab gitlab-ctl reconfigure. Then I created a group and a project. URL to clone project is default:

How can I force GitLab to reload configs from gitlab.rb and update repo clone URL to use my instance IP?

Ok, I’ve found the solution. Just need to change --hostname parameter when execute
docker run --hostname mydomain.com ... gitlab/gitlab-ce:latest