- 官网地址:https://docs.gitlab.com/omnibus/docker/
- 修改 http协议 配置文件
```shell $ vim /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml
1. GitLab app settings
==========================
GitLab settings
gitlab:
## Web server settings (note: host is the FQDN, do not include http://)
host: 192.168.22.5
port: 10080
https: false
2. 修改 ssh 协议 配置文件<br />
```shell
$ vim /etc/gitlab/gitlab.rb
# 大概在 619 行处
gitlab_rails['gitlab_shell_ssh_port'] = 10022
- 重载配置
$ gitlab-ctl reconfigure $ gitlab-ctl restart