We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好我遇到一个问题
命令: docker run --name gitlab -i -t -d -p 9999:80 --hostname xxxx.xx --restart unless-stopped -v D:/work/docker/disk/gitlab:/data --net baseNetwork --ip 172.18.0.6 twang2218/gitlab-ce-zh:11.1.4
docker run --name gitlab -i -t -d -p 9999:80 --hostname xxxx.xx --restart unless-stopped -v D:/work/docker/disk/gitlab:/data --net baseNetwork --ip 172.18.0.6 twang2218/gitlab-ce-zh:11.1.4
考虑到每次重启容器,git拉取代码的path前缀都会被重置为默认的host,端口为80,所以启动后修改配置文件:
vim /etc/gitlab/gitlab.rb external_url 'http://xxxx:9999' gitlab-ctl reconfigure
此时无法启动
重新修改去掉端口
vim /etc/gitlab/gitlab.rb external_url 'http://xxxx' gitlab-ctl reconfigure
启动成功
这里的疑问就是为什么无法设置端口,因为无法修改次端口会导致每次启动后去修改gitlab.yml,将80修改为9999,然后再gitlab-ctl restart
The text was updated successfully, but these errors were encountered:
项目无人维护关闭问题
Sorry, something went wrong.
No branches or pull requests
你好我遇到一个问题
命令:
docker run --name gitlab -i -t -d -p 9999:80 --hostname xxxx.xx --restart unless-stopped -v D:/work/docker/disk/gitlab:/data --net baseNetwork --ip 172.18.0.6 twang2218/gitlab-ce-zh:11.1.4
考虑到每次重启容器,git拉取代码的path前缀都会被重置为默认的host,端口为80,所以启动后修改配置文件:
此时无法启动
重新修改去掉端口
启动成功
这里的疑问就是为什么无法设置端口,因为无法修改次端口会导致每次启动后去修改gitlab.yml,将80修改为9999,然后再gitlab-ctl restart
The text was updated successfully, but these errors were encountered: