赞
踩
部署:
docker run -d -p 444:443 -p 88:88 -p 222:22 --name gitlab --restart always -v /usr/local/docker/gitlab/config:/etc/gitlab -v /usr/local/docker/gitlab/logs:/var/log/gitlab -v /usr/local/docker/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce
vim /usr/local/docker/gitlab/config/gitlab.rb
#添加
external_url 'http://192.168.31.248:88'
nginx['listen_port'] = 88
gitlab_rails['gitlab_shell_ssh_port'] = 222
效果:
另外:
git 客户端 TortoiseGit 使用http地址clone
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。