summaryrefslogtreecommitdiff
path: root/git-server/gerrit.config.example
blob: 07f8ec3243b705d18332f400917a03256ef23df0 (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
[gerrit]
	basePath = git
	canonicalWebUrl = https://gerrit.swave.lol
	# serverId is auto-generated by Gerrit on first run — do not set manually

[auth]
	type = HTTP
	httpHeader = X-Forwarded-User
	emailFormat = {0}@swave.lol
	# registerEmailPrivateKey is auto-generated by Gerrit on first run
	# Generate manually with: openssl rand -hex 20
	# Do NOT commit the real value — keep it only in /var/gerrit/etc/gerrit.config
	gitBasicAuthPolicy = LDAP
	loginUrl = https://gerrit.swave.lol/login/

[sshd]
	listenAddress = *:29418

[httpd]
	listenUrl = http://*:8080/

[receive]
	enableSignedPush = false

[sendemail]
	smtpServer = localhost

[index]
	type = lucene

[cache]
	directory = cache

# Note: the [container] section (javaOptions, javaHome, user) is auto-generated
# by Gerrit on first startup and should not be manually configured.