This commit is contained in:
Iwan Clement
2020-04-22 18:46:34 +02:00
parent d2b787f9b2
commit f54660e166
2 changed files with 40 additions and 19 deletions

View File

@@ -21,21 +21,22 @@ services:
gitlab_rails['smtp_domain'] = 'mg.devops-lyon.eu'
gitlab_rails['smtp_enable_starttls_auto'] = true
gitlab_rails['initial_root_password'] = 'M0ukreneIsGood!'
# gitlab_rails['ldap_enabled'] = true
# gitlab_rails['ldap_servers'] = {
# 'main' => {
# 'label' => 'Pidom AD',
# 'host' => '192.168.111.252',
# 'port' => 389,
# 'uid' => 'sAMAccountName',
# 'verify_certificates' => false,
# 'bind_dn' => 'CN=ldapuser,OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison',
# 'encryption' => 'plain'
# 'password' => 'E2ggSY3v33y5B6uwyjNXYGT2y_',
# 'active_directory' => true,
# 'base' => 'OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison'
# }
# }
gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_servers'] = {
'main' => {
'label' => 'Pidom AD',
'host' => '192.168.111.252',
'port' => 389,
'uid' => 'sAMAccountName',
'verify_certificates' => false,
'bind_dn' => 'CN=ldapuser,OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison',
'encryption' => 'plain',
'password' => 'E2ggSY3v33y5B6uwyjNXYGT2y_',
'active_directory' => true,
'base' => 'OU=Users,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison',
'user_filter' => '(memberof=CN=gitusers,OU=Groups,OU=Dardilly,DC=pidom,DC=chezclement,DC=maison)'
}
}
nginx['enable'] = true
nginx['redirect_http_to_https'] = false
nginx['proxy_set_headers'] = {"X-Forwarded-Proto" => "http", "CUSTOM_HEADER" => "VALUE"}