diff --git a/conf/gitlab.rb b/conf/gitlab.rb new file mode 100644 index 0000000..8f2fc30 --- /dev/null +++ b/conf/gitlab.rb @@ -0,0 +1,21 @@ +external_url 'GENERATED_EXTERNAL_URL' + +gitlab_rails['ldap_enabled'] = true +gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below + main: # 'main' is the GitLab 'provider ID' of this LDAP server + label: 'LDAP' + host: 'localhost' + port: 389 + uid: 'uid' + method: 'plain' # "tls" or "ssl" or "plain" + bind_dn: '' + password: '' + active_directory: false + allow_username_or_email_login: false + block_auto_created_users: false + base: 'ou=users,dc=yunohost,dc=org' + user_filter: '' +EOS + +nginx['listen_port'] = PORT +nginx['listen_https'] = false