summaryrefslogtreecommitdiff
path: root/devgerrit/root/config/gerrit.config
blob: cc601eba120977c63698a33a157562a90e0cd9a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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}))