docker gitlab部署

docker gitlab部署

GITLAB_HOME=pwd/data/gitlab
docker run -d
–hostname gitlab
–publish 8443:443 --publish 80:80 --publish 2222:22
–name gitlab
–restart always
–volume $GITLAB_HOME/config:/etc/gitlab
–volume $GITLAB_HOME/logs:/var/log/gitlab
–volume $GITLAB_HOME/data:/var/opt/gitlab
gitlab/gitlab-ce

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42264901/article/details/87256145