ubuntu gitlab 安装

前端之家收集整理的这篇文章主要介绍了ubuntu gitlab 安装前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

gitlab 安装参考

http://www.jianshu.com/p/5ce17cc3103e

其中 打开vim /etc/gitlab/gitlab.rb

external_url '8889'
## gitlab.yml configuration
##! Docs: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/gitlab.yml.md
################################################################################
# gitlab_rails['gitlab_ssh_host'] = 'ssh.host_example.com'
 gitlab_rails['time_zone'] = 'Asia/Shanghai'

### Email Settings
 gitlab_rails['gitlab_email_enabled'] = true
 gitlab_rails['gitlab_email_from'] = 'ggluopeihai@gamil.com'
 gitlab_rails['gitlab_email_display_name'] = 'GitLab Server'
 gitlab_rails['gitlab_email_reply_to'] = 'ggluopeihai@gamil.com'
# gitlab_rails['gitlab_email_subject_suffix'] = ''

################################
# GitLab email server settings #
################################
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = "smtp.gmail.com"
gitlab_rails['smtp_port'] = 587
gitlab_rails['smtp_user_name'] = "ggluopeihai@gamil.com"
gitlab_rails['smtp_password'] = "512112gl"
gitlab_rails['smtp_domain'] = "gmail.com"
gitlab_rails['smtp_authentication'] = :plain
gitlab_rails['smtp_enable_starttls_auto'] = true

#Nginx['listen_addresses']= ['192.168.1.10']
Nginx['listen_port']=8889
#git_data_dirs({
#  "default" => "/var/opt/gitlab/git-data",#  "alternative" => "/gitdata"
#})
git_data_dir "/gitdata"
# GitLab user privileges
# gitlab_rails['gitlab_default_can_create_group'] = true

git-data 文件迁移

https://stackoverflow.com/questions/19902417/change-the-data-directory-gitlab-to-store-repos-elsewhere

原文链接:https://www.f2er.com/ubuntu/351923.html

猜你在找的Ubuntu相关文章