虚拟机安装
下载 https://packages.gitlab.com/gitlab/gitlab-ce
docker安装
docker pull gitlab/gitlab-ce:latest
docker run --detach \
--hostname 192.168.119.133 \
--publish 443:443 --publish 80:80 --publish 222:22 --publish 8080:8080 \
--name gitserver \
--restart always \
--volume /gitlab/config:/etc/gitlab \
--volume /gitlab/logs:/var/log/gitlab \
--volume /gitlab/data:/var/opt/gitlab \
gitlab/gitlab-ce:latest

评论