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 #添加完成解析后执行最后一步生成证书
网友评论