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:
- http://gitlab.example.com/group/project.git for HTTP;
- git@gitlab.example.com:group/project.git for SSH.
How can I force GitLab to reload configs from gitlab.rb
and update repo clone URL to use my instance IP?