ps:使用docker安装gitlab参考:https://blog.csdn.net/blog_zxb/article/details/95626093
$ vi /etc/gitlab/gitlab.rb
// gitlab设置https
external_url 'https://192.168.248.154'
################################################################################
# Let's Encrypt integration
################################################################################
letsencrypt['enable'] = true
letsencrypt['contact_emails'] = ['[email protected]']