1. 官网地址:https://docs.gitlab.com/omnibus/docker/
  2. 修改 http协议 配置文件
    ```shell $ vim /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml

1. GitLab app settings

==========================

GitLab settings

gitlab:

  1. ## Web server settings (note: host is the FQDN, do not include http://)
  2. host: 192.168.22.5
  3. port: 10080
  4. https: false

2. 修改 ssh 协议 配置文件<br />
```shell
$ vim /etc/gitlab/gitlab.rb
# 大概在 619 行处
gitlab_rails['gitlab_shell_ssh_port'] = 10022
  1. 重载配置
    $ gitlab-ctl reconfigure
    $ gitlab-ctl restart