gitlab 安装时设置了domian 为192.168.2.129
完成后,我的虚拟机ip变了。
现在怎么才能修改安装时的 domian
现在gitlab 一直是git@192.168.2.129:master/match.git
请指点怎么修改这个仓库的ip
gitlab 安装时设置了domian 为192.168.2.129
完成后,我的虚拟机ip变了。
现在怎么才能修改安装时的 domian
现在gitlab 一直是git@192.168.2.129:master/match.git
请指点怎么修改这个仓库的ip
Configuring the external URL for GitLab
In order for GitLab to display correct repository clone links to your users it needs to know the URL under which it is reached by your users, e.g. http://gitlab.example.com. Add or edit the following line in/etc/gitlab/gitlab.rb
:
external_url "http://gitlab.example.com"
Run sudo gitlab-ctl reconfigure for the change to take effect.
gitlab/config/gitlab.yml
GitLab settings
gitlab:
## Web server settings
host: 192.168.2.129 #ip or domain
port: 80
https: false