gitlab


Author: yifei / Created: Jan. 21, 2018, 6:50 a.m. / Modified: Jan. 21, 2018, 2:55 p.m. / Edit

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

source: https://docs.gitlab.com/omnibus/docker/README.html


评论区