跳转至

持续部署

GitLab

安装

export GITLAB_HOME=$HOME/gitlab

sudo docker run --detach \
    --hostname git.zhenyuan.me \
    --publish 0.0.0.0:443:443 \
    --publish 0.0.0.0:80:80 \
    --publish 0.0.0.0:22: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 \
    --shm-size 256m \
    gitlab/gitlab-ee:latest

GitLab CI/CD

资源


最后更新: September 10, 2023