美文网首页
docker搭建gitlab

docker搭建gitlab

作者: fengshunli | 来源:发表于2019-05-05 17:03 被阅读0次

sudo docker run -d
--hostname ip
-e GITLAB_OMNIBUS_CONFIG="external_url 'http://ip:9000'; gitlab_rails['gitlab_shell_ssh_port'] = 2222 "
--publish 8443:443 --publish 9000:9000 --publish 2222:22
--name gitlab
--restart always
--volume /srv/gitlab/config:/etc/gitlab
--volume /srv/gitlab/logs:/var/log/gitlab
--volume /srv/gitlab/data:/var/opt/gitlab
gitlab/gitlab-ce

相关文章

网友评论

      本文标题:docker搭建gitlab

      本文链接:https://www.haomeiwen.com/subject/nayhoqtx.html