美文网首页
docker install gitlab

docker install gitlab

作者: HaoDongZ | 来源:发表于2023-02-05 16:34 被阅读0次

    docker install gitlab

    sudo docker run --detach --restart=always \
      --privileged=true \
      --publish 443:443 --publish 80:80 --publish 1122:22 \
      --name gitlab \
      --restart always \
      --volume /data/gitlab/config:/etc/gitlab \
      --volume /data/gitlab/logs:/var/log/gitlab \
      --volume /data/gitlab/data:/var/opt/gitlab \
      gitlab/gitlab-ee:latest
    
    

    acme application certificate

      1. curl https://get.acme.sh | sh  -s email=haodongz@yeah.net
       2. curl  https://get.acme.sh | sh
       3. ./acme.sh --issue --dns -d git.d.xxx.com  --yes-I-know-dns-manual-mode-enough-go-ahead-please  #执行后看信息添加解析txt
     4.   ./acme.sh --renew -d git.d.xxx.com --yes-I-know-dns-manual-mode-enough-go-ahead-please #添加完成解析后执行最后一步生成证书
    

    相关文章

      网友评论

          本文标题:docker install gitlab

          本文链接:https://www.haomeiwen.com/subject/teqzhdtx.html