首页 > 其他分享 >代码上线gitlab

代码上线gitlab

时间:2022-09-04 15:15:32浏览次数:56  
标签:上线 代码 gitlab smtp rails enable com email

 

 

需要更改的配置

[root@Gitlab200 /etc/gitlab]#grep -n "^[a-Z]" gitlab.rb
13:external_url 'http://gitlab.oldboy.com'
52:gitlab_rails['gitlab_email_enabled'] = true
53:gitlab_rails['gitlab_email_from'] = '[email protected]'
54:gitlab_rails['gitlab_email_display_name'] = 'oldboy_gitlab'
55:gitlab_rails['gitlab_email_reply_to'] = '[email protected]'
56:gitlab_rails['gitlab_email_subject_suffix'] = ''
518:gitlab_rails['smtp_address'] = "smtp.qq.com"
519:gitlab_rails['smtp_port'] = 465
520:gitlab_rails['smtp_user_name'] = "[email protected]"
521:gitlab_rails['smtp_password'] = "ymlsotpgckdtbaej"
522:gitlab_rails['smtp_domain'] = "qq.com"
523:gitlab_rails['smtp_authentication'] = "login"
524:gitlab_rails['smtp_enable_starttls_auto'] = true
525:gitlab_rails['smtp_tls'] = true
1452:alertmanager['enable'] = false
1493:redis_exporter['enable'] = false
1511:postgres_exporter['enable'] = false
1540:gitlab_monitor['enable'] = false
1553:prometheus_monitoring['enable'] = false
1560:grafana['enable'] = false

初始化  gitlab-ctl reconfigure

 git  remote add origin [email protected]:root/xingchen.git

 

标签:上线,代码,gitlab,smtp,rails,enable,com,email
From: https://www.cnblogs.com/cgz9600512/p/16625123.html

相关文章