GitLab IP修改

1. 修改 gitlab.yml文件

cd /opt/gitlab/embedded/service/gitlab-rails/config 
vim gitlab.yml0

2. 修改文件内容

 ## GitLab settings
  gitlab:
    ## Web server settings (note: host is the FQDN, do not include http://)
    host: 192.168.0.180
    port: 8081
    https: false

3. 重启服务

gitlab-ctl restart

that is all.

posted @ 2020-03-14 10:21  郁文  阅读(105)  评论(0)    收藏  举报