vi /etc/gitlab/gitlab.rb
igitlab_rails[‘gitlab_email_from’] = ‘shenwenlong66@outlook.com’
gitlab_rails[‘smtp_enable’] = true
gitlab_rails[‘smtp_address’] = “smtp-mail.outlook.com”
gitlab_rails[‘smtp_port’] = 587
gitlab_rails[‘smtp_user_name’] = “shenwenlong66@outlook.com”
gitlab_rails[‘smtp_password’] = “XXXXXX”
gitlab_rails[‘smtp_domain’] = “smtp-mail.outlook.com”
gitlab_rails[‘smtp_authentication’] = “login”
gitlab_rails[‘smtp_enable_starttls_auto’] = true
user[‘git_user_email’] = “shenwenlong66@outlook.com”
external_url ‘http://XX.XX.XX.XX:XXXX’