gitlab+jenkins+docker自動構建


docker容器部署gitlab:

 1 sudo docker run --detach \
 2     --hostname git.gitlab.com \
 3     --net=host \
 4     --publish 9443:443 --publish 9080:80 --publish 9022:22 \
 5     --name gitlab \
 6     --restart always \
 7     --volume /data0/gitlab/config:/etc/gitlab \
 8     --volume /data0/gitlab/logs:/var/log/gitlab \
 9     --volume /data0/gitlab/data:/var/opt/gitlab \
10     gitlab/gitlab-ce:latest

 

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM