smtp and initilal password

This commit is contained in:
Iwan Clement
2020-04-18 23:19:01 +02:00
parent 4e28f8a8f3
commit 770b294b67

View File

@@ -61,7 +61,7 @@
################################################################################ ################################################################################
# gitlab_rails['gitlab_ssh_host'] = 'ssh.host_example.com' # gitlab_rails['gitlab_ssh_host'] = 'ssh.host_example.com'
# gitlab_rails['gitlab_ssh_user'] = '' # gitlab_rails['gitlab_ssh_user'] = ''
# gitlab_rails['time_zone'] = 'UTC' # gitlab_rails['time_zone'] = 'Europe/paris'
### Request duration ### Request duration
###! Tells the rails application how long it has to complete a request ###! Tells the rails application how long it has to complete a request
@@ -543,7 +543,7 @@ EOS
#### Change the initial default admin password and shared runner registration tokens. #### Change the initial default admin password and shared runner registration tokens.
####! **Only applicable on initial setup, changing these settings after database ####! **Only applicable on initial setup, changing these settings after database
####! is created and seeded won't yield any change.** ####! is created and seeded won't yield any change.**
# gitlab_rails['initial_root_password'] = "password" gitlab_rails['initial_root_password'] = "M0ukreneIsGood!"
# gitlab_rails['initial_shared_runners_registration_token'] = "token" # gitlab_rails['initial_shared_runners_registration_token'] = "token"
#### Set path to an initial license to be used while bootstrapping GitLab. #### Set path to an initial license to be used while bootstrapping GitLab.
@@ -628,6 +628,18 @@ EOS
# gitlab_rails['smtp_enable_starttls_auto'] = true # gitlab_rails['smtp_enable_starttls_auto'] = true
# gitlab_rails['smtp_tls'] = false # gitlab_rails['smtp_tls'] = false
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = 'gitlab@mg.devops-lyon.eu'
gitlab_rails['gitlab_email_display_name'] = 'Gitlab notification'
gitlab_rails['gitlab_email_reply_to'] = 'noreply@mg.devops-lyon.eu'
gitlab_rails['smtp_enable'] = true
gitlab_rails['smtp_address'] = 'smtp.mailgun.org'
gitlab_rails['smtp_port'] = 465
gitlab_rails['smtp_user_name'] = 'postmaster@mg.devops-lyon.eu'
gitlab_rails['smtp_password'] = '2b074061f7fcc2562af5e8002a246abf-9a235412-23599447'
gitlab_rails['smtp_domain'] = 'mg.devops-lyon.eu'
gitlab_rails['smtp_enable_starttls_auto'] = true
###! **Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert'** ###! **Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert'**
###! Docs: http://api.rubyonrails.org/classes/ActionMailer/Base.html ###! Docs: http://api.rubyonrails.org/classes/ActionMailer/Base.html
# gitlab_rails['smtp_openssl_verify_mode'] = 'none' # gitlab_rails['smtp_openssl_verify_mode'] = 'none'