docker部署gitlab
参考:https://docs.gitlab.com/omnibus/docker/image tags: https://hub.docker.com/r/gitlab/gitlab-ce/tagsdocker run -d \--hostname 47.105.116.80 \-p 443:443 \-p 80:80 \-p 30022:22 \--name gitlab \--restart
·
参考:https://docs.gitlab.com/omnibus/docker/
image tags: https://hub.docker.com/r/gitlab/gitlab-ce/tags
docker run -d \
--hostname 47.105.116.80 \
-p 443:443 \
-p 80:80 \
-p 30022:22 \
--name gitlab \
--restart always \
-v /srv/gitlab/config:/etc/gitlab \
-v /srv/gitlab/logs:/var/log/gitlab \
-v /srv/gitlab/data:/var/opt/gitlab \
gitlab/gitlab-ce:11.10.0-ce.0
sudo docker run --detach \
--hostname gitlab.example.com \
--publish 443:443 --publish 80:80 --publish 22: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:latest
更多推荐
已为社区贡献4条内容
所有评论(0)