diff options
author | Yonghee Han <onstudy@samsung.com> | 2015-09-11 13:54:05 +0900 |
---|---|---|
committer | Yonghee Han <onstudy@samsung.com> | 2015-09-11 13:54:05 +0900 |
commit | ec650da2d205c5c9c81c6e590e955aca7d4e02fa (patch) | |
tree | f31af774cf680077787871b61210f083fb7b6176 /clientgerrit/root/config/gerrit.config | |
parent | 08f3e2976ea26ae7db0668a65e0d0bf09c78a4be (diff) | |
download | docker-script-gerrit.tar.gz docker-script-gerrit.tar.bz2 docker-script-gerrit.zip |
Initial gerrit 2.9.4.0.2 with dockergerrit
Change-Id: I06332ac25c45e81bb90fe3ff0fe7bc61a409cf30
Diffstat (limited to 'clientgerrit/root/config/gerrit.config')
-rwxr-xr-x | clientgerrit/root/config/gerrit.config | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/clientgerrit/root/config/gerrit.config b/clientgerrit/root/config/gerrit.config new file mode 100755 index 0000000..cc601eb --- /dev/null +++ b/clientgerrit/root/config/gerrit.config @@ -0,0 +1,48 @@ +[gerrit] + basePath = git + canonicalWebUrl = http://127.0.0.1/gerrit +[plugins] + allowRemoteAdmin = true +[index] + type = LUCENE +[auth] + type = LDAP +[sendemail] + smtpServer = + smtpUser = + from = + threadPoolSize = 2 +[container] + user = gerrit + javaHome = /usr/lib/jvm/java-1.7.0_60-oracle-x64/jre +[sshd] + listenAddress = *:29418 +[httpd] + listenUrl = proxy-http://127.0.0.1:8081/gerrit +[cache] + directory = cache +[gitweb] + cgi = /usr/share/gitweb/gitweb.cgi +[database] + type = mysql + hostname = localhost + port = 3306 + database = reviewdb + username = gerrit + password = gerritpassword +[ldap] + server = ldap://127.0.0.1 + username = cn=admin,dc=example,dc=com + password = opensuse + sslVerify = false + referral = follow + accountScope = subtree + accountBase = ou=people,dc=example,dc=com + accountPattern = (&(objectClass=inetOrgPerson)(uid=${username})) + accountFullName = displayName + accountEmailAddress = mail + + groupName = ${cn} + groupBase = ou=group,dc=example,dc=com + groupPattern = (&(objectClass=groupOfNames)(cn=${groupname})) + groupMemberPattern = (&(objectClass=groupOfNames)(member=${member})) |