码迷,mamicode.com
首页 > 其他好文 > 详细

Gitlab installation

时间:2018-01-30 16:57:52      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:href   publish   name   hub   lease   data   tla   pull   doc   

How to install Gitlab base on Docker:

  1. from docker:
    docker pull gitlab/gitlab-ce
  2. from Gitlab:
    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
  3. please refer the details:
    https://hub.docker.com/r/gitlab/gitlab-ce/
    https://docs.gitlab.com/omnibus/docker/

Gitlab installation

标签:href   publish   name   hub   lease   data   tla   pull   doc   

原文地址:http://blog.51cto.com/737083/2066775

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!