You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gitblit.properties 47KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445
  1. #
  2. # Gitblit Settings
  3. #
  4. # This settings file supports parameterization from the command-line for the
  5. # following command-line parameters:
  6. #
  7. # --baseFolder ${baseFolder} SINCE 1.2.1
  8. #
  9. # Settings that support ${baseFolder} parameter substitution are indicated with the
  10. # BASEFOLDER attribute. If the --baseFolder argument is unspecified, ${baseFolder}
  11. # and it's trailing / will be discarded from the setting value leaving a relative
  12. # path that is equivalent to pre-1.2.1 releases.
  13. #
  14. # e.g. "${baseFolder}/git" becomes "git", if --baseFolder is unspecified
  15. #
  16. # Git Servlet Settings
  17. #
  18. # Base folder for repositories.
  19. # This folder may contain bare and non-bare repositories but Gitblit will only
  20. # allow you to push to bare repositories.
  21. # Use forward slashes even on Windows!!
  22. # e.g. c:/gitrepos
  23. #
  24. # SINCE 0.5.0
  25. # RESTART REQUIRED
  26. # BASEFOLDER
  27. git.repositoriesFolder = ${baseFolder}/git
  28. # Build the available repository list at startup and cache this list for reuse.
  29. # This reduces disk io when presenting the repositories page, responding to rpcs,
  30. # etc, but it means that Gitblit will not automatically identify repositories
  31. # added or deleted by external tools.
  32. #
  33. # For this case you can use curl, wget, etc to issue an rpc request to clear the
  34. # cache (e.g. https://localhost/rpc?req=CLEAR_REPOSITORY_CACHE)
  35. #
  36. # SINCE 1.1.0
  37. git.cacheRepositoryList = true
  38. # Search the repositories folder subfolders for other repositories.
  39. # Repositories MAY NOT be nested (i.e. one repository within another)
  40. # but they may be grouped together in subfolders.
  41. # e.g. c:/gitrepos/libraries/mylibrary.git
  42. # c:/gitrepos/libraries/myotherlibrary.git
  43. #
  44. # SINCE 0.5.0
  45. git.searchRepositoriesSubfolders = true
  46. # Maximum number of folders to recurse into when searching for repositories.
  47. # The default value, -1, disables depth limits.
  48. #
  49. # SINCE 1.1.0
  50. git.searchRecursionDepth = -1
  51. # List of regex exclusion patterns to match against folders found in
  52. # *git.repositoriesFolder*.
  53. # Use forward slashes even on Windows!!
  54. # e.g. test/jgit\.git
  55. #
  56. # SPACE-DELIMITED
  57. # CASE-SENSITIVE
  58. # SINCE 1.1.0
  59. git.searchExclusions =
  60. # List of regex url patterns for extracting a repository name when locating
  61. # submodules.
  62. # e.g. git.submoduleUrlPatterns = .*?://github.com/(.*) will extract
  63. # *gitblit/gitblit.git* from *git://github.com/gitblit/gitblit.git*
  64. # If no matches are found then the submodule repository name is assumed to be
  65. # whatever trails the last / character. (e.g. gitblit.git).
  66. #
  67. # SPACE-DELIMITED
  68. # CASE-SENSITIVE
  69. # SINCE 1.1.0
  70. git.submoduleUrlPatterns = .*?://github.com/(.*)
  71. # Specify the interface for Git Daemon to bind it's service.
  72. # You may specify an ip or an empty value to bind to all interfaces.
  73. # Specifying localhost will result in Gitblit ONLY listening to requests to
  74. # localhost.
  75. #
  76. # SINCE 1.3.0
  77. # RESTART REQUIRED
  78. git.daemonBindInterface = localhost
  79. # port for serving the Git Daemon service. <= 0 disables this service.
  80. # On Unix/Linux systems, ports < 1024 require root permissions.
  81. # Recommended value: 9418
  82. #
  83. # SINCE 1.3.0
  84. # RESTART REQUIRED
  85. git.daemonPort = 9418
  86. # Allow push/pull over http/https with JGit servlet.
  87. # If you do NOT want to allow Git clients to clone/push to Gitblit set this
  88. # to false. You might want to do this if you are only using ssh:// or git://.
  89. # If you set this false, consider changing the *web.otherUrls* setting to
  90. # indicate your clone/push urls.
  91. #
  92. # SINCE 0.5.0
  93. git.enableGitServlet = true
  94. # If you want to restrict all git servlet access to those with valid X509 client
  95. # certificates then set this value to true.
  96. #
  97. # SINCE 1.2.0
  98. git.requiresClientCertificate = false
  99. # Enforce date checks on client certificates to ensure that they are not being
  100. # used prematurely and that they have not expired.
  101. #
  102. # SINCE 1.2.0
  103. git.enforceCertificateValidity = true
  104. # List of OIDs to extract from a client certificate DN to map a certificate to
  105. # an account username.
  106. #
  107. # e.g. git.certificateUsernameOIDs = CN
  108. # e.g. git.certificateUsernameOIDs = FirstName LastName
  109. #
  110. # SPACE-DELIMITED
  111. # SINCE 1.2.0
  112. git.certificateUsernameOIDs = CN
  113. # Only serve/display bare repositories.
  114. # If there are non-bare repositories in git.repositoriesFolder and this setting
  115. # is true, they will be excluded from the ui.
  116. #
  117. # SINCE 0.9.0
  118. git.onlyAccessBareRepositories = false
  119. # Allow an authenticated user to create a destination repository on a push if
  120. # the repository does not already exist.
  121. #
  122. # Administrator accounts can create a repository in any project.
  123. # These repositories are created with the default access restriction and authorization
  124. # control values. The pushing account is set as the owner.
  125. #
  126. # Non-administrator accounts with the CREATE role may create personal repositories.
  127. # These repositories are created as VIEW restricted for NAMED users.
  128. # The pushing account is set as the owner.
  129. #
  130. # SINCE 1.2.0
  131. git.allowCreateOnPush = true
  132. # The default access restriction for new repositories.
  133. # Valid values are NONE, PUSH, CLONE, VIEW
  134. # NONE = anonymous view, clone, & push
  135. # PUSH = anonymous view & clone and authenticated push
  136. # CLONE = anonymous view, authenticated clone & push
  137. # VIEW = authenticated view, clone, & push
  138. #
  139. # SINCE 1.0.0
  140. git.defaultAccessRestriction = NONE
  141. # The default authorization control for new repositories.
  142. # Valid values are AUTHENTICATED and NAMED
  143. # AUTHENTICATED = any authenticated user is granted restricted access
  144. # NAMED = only named users/teams are granted restricted access
  145. #
  146. # SINCE 1.1.0
  147. git.defaultAuthorizationControl = NAMED
  148. # The default incremental push tag prefix. Tag prefix applied to a repository
  149. # that has automatic push tags enabled and does not specify a custom tag prefix.
  150. #
  151. # If incremental push tags are enabled, the tips of each branch in the push will
  152. # be tagged with an increasing revision integer.
  153. #
  154. # e.g. refs/tags/r2345 or refs/tags/rev_2345
  155. #
  156. # SINCE 1.3.0
  157. git.defaultIncrementalPushTagPrefix = r
  158. # Enable JGit-based garbage collection. (!!EXPERIMENTAL!!)
  159. #
  160. # USE AT YOUR OWN RISK!
  161. #
  162. # If enabled, the garbage collection executor scans all repositories once a day
  163. # at the hour of your choosing. The GC executor will take each repository "offline",
  164. # one-at-a-time, to check if the repository satisfies it's GC trigger requirements.
  165. #
  166. # While the repository is offline it will be inaccessible from the web UI or from
  167. # any of the other services (git, rpc, rss, etc).
  168. #
  169. # Gitblit's GC Executor MAY NOT PLAY NICE with the other Git kids on the block,
  170. # especially on Windows systems, so if you are using other tools please coordinate
  171. # their usage with your GC Executor schedule or do not use this feature.
  172. #
  173. # The GC algorithm complex and the JGit team advises caution when using their
  174. # young implementation of GC.
  175. #
  176. # http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.1#Garbage_Collector_and_Repository_Storage_Statistics
  177. #
  178. # EXPERIMENTAL
  179. # SINCE 1.2.0
  180. # RESTART REQUIRED
  181. git.enableGarbageCollection = false
  182. # Hour of the day for the GC Executor to scan repositories.
  183. # This value is in 24-hour time.
  184. #
  185. # SINCE 1.2.0
  186. git.garbageCollectionHour = 0
  187. # The default minimum total filesize of loose objects to trigger early garbage
  188. # collection.
  189. #
  190. # You may specify a custom threshold for a repository in the repository's settings.
  191. # Common unit suffixes of k, m, or g are supported.
  192. #
  193. # SINCE 1.2.0
  194. git.defaultGarbageCollectionThreshold = 500k
  195. # The default period, in days, between GCs for a repository. If the total filesize
  196. # of the loose object exceeds *git.garbageCollectionThreshold* or the repository's
  197. # custom threshold, this period will be short-circuited.
  198. #
  199. # e.g. if a repository collects 100KB of loose objects every day with a 500KB
  200. # threshold and a period of 7 days, it will take 5 days for the loose objects to
  201. # be collected, packed, and pruned.
  202. #
  203. # OR
  204. #
  205. # if a repository collects 10KB of loose objects every day with a 500KB threshold
  206. # and a period of 7 days, it will take the full 7 days for the loose objects to be
  207. # collected, packed, and pruned.
  208. #
  209. # You may specify a custom period for a repository in the repository's settings.
  210. #
  211. # The minimum value is 1 day since the GC Executor only runs once a day.
  212. #
  213. # SINCE 1.2.0
  214. git.defaultGarbageCollectionPeriod = 7
  215. # Number of bytes of a pack file to load into memory in a single read operation.
  216. # This is the "page size" of the JGit buffer cache, used for all pack access
  217. # operations. All disk IO occurs as single window reads. Setting this too large
  218. # may cause the process to load more data than is required; setting this too small
  219. # may increase the frequency of read() system calls.
  220. #
  221. # Default on JGit is 8 KiB on all platforms.
  222. #
  223. # Common unit suffixes of k, m, or g are supported.
  224. # Documentation courtesy of the Gerrit project.
  225. #
  226. # SINCE 1.0.0
  227. # RESTART REQUIRED
  228. git.packedGitWindowSize = 8k
  229. # Maximum number of bytes to load and cache in memory from pack files. If JGit
  230. # needs to access more than this many bytes it will unload less frequently used
  231. # windows to reclaim memory space within the process. As this buffer must be shared
  232. # with the rest of the JVM heap, it should be a fraction of the total memory available.
  233. #
  234. # The JGit team recommends setting this value larger than the size of your biggest
  235. # repository. This ensures you can serve most requests from memory.
  236. #
  237. # Default on JGit is 10 MiB on all platforms.
  238. #
  239. # Common unit suffixes of k, m, or g are supported.
  240. # Documentation courtesy of the Gerrit project.
  241. #
  242. # SINCE 1.0.0
  243. # RESTART REQUIRED
  244. git.packedGitLimit = 10m
  245. # Maximum number of bytes to reserve for caching base objects that multiple deltafied
  246. # objects reference. By storing the entire decompressed base object in a cache Git
  247. # is able to avoid unpacking and decompressing frequently used base objects multiple times.
  248. #
  249. # Default on JGit is 10 MiB on all platforms. You probably do not need to adjust
  250. # this value.
  251. #
  252. # Common unit suffixes of k, m, or g are supported.
  253. # Documentation courtesy of the Gerrit project.
  254. #
  255. # SINCE 1.0.0
  256. # RESTART REQUIRED
  257. git.deltaBaseCacheLimit = 10m
  258. # Maximum number of pack files to have open at once. A pack file must be opened
  259. # in order for any of its data to be available in a cached window.
  260. #
  261. # If you increase this to a larger setting you may need to also adjust the ulimit
  262. # on file descriptors for the host JVM, as Gitblit needs additional file descriptors
  263. # available for network sockets and other repository data manipulation.
  264. #
  265. # Default on JGit is 128 file descriptors on all platforms.
  266. # Documentation courtesy of the Gerrit project.
  267. #
  268. # SINCE 1.0.0
  269. # RESTART REQUIRED
  270. git.packedGitOpenFiles = 128
  271. # Largest object size, in bytes, that JGit will allocate as a contiguous byte
  272. # array. Any file revision larger than this threshold will have to be streamed,
  273. # typically requiring the use of temporary files under $GIT_DIR/objects to implement
  274. # psuedo-random access during delta decompression.
  275. #
  276. # Servers with very high traffic should set this to be larger than the size of
  277. # their common big files. For example a server managing the Android platform
  278. # typically has to deal with ~10-12 MiB XML files, so 15 m would be a reasonable
  279. # setting in that environment. Setting this too high may cause the JVM to run out
  280. # of heap space when handling very big binary files, such as device firmware or
  281. # CD-ROM ISO images. Make sure to adjust your JVM heap accordingly.
  282. #
  283. # Default is 50 MiB on all platforms.
  284. #
  285. # Common unit suffixes of k, m, or g are supported.
  286. # Documentation courtesy of the Gerrit project.
  287. #
  288. # SINCE 1.0.0
  289. # RESTART REQUIRED
  290. git.streamFileThreshold = 50m
  291. # When true, JGit will use mmap() rather than malloc()+read() to load data from
  292. # pack files. The use of mmap can be problematic on some JVMs as the garbage
  293. # collector must deduce that a memory mapped segment is no longer in use before
  294. # a call to munmap() can be made by the JVM native code.
  295. #
  296. # In server applications (such as Gitblit) that need to access many pack files,
  297. # setting this to true risks artificially running out of virtual address space,
  298. # as the garbage collector cannot reclaim unused mapped spaces fast enough.
  299. #
  300. # Default on JGit is false. Although potentially slower, it yields much more
  301. # predictable behavior.
  302. # Documentation courtesy of the Gerrit project.
  303. #
  304. # SINCE 1.0.0
  305. # RESTART REQUIRED
  306. git.packedGitMmap = false
  307. #
  308. # Groovy Integration
  309. #
  310. # Location of Groovy scripts to use for Pre and Post receive hooks.
  311. # Use forward slashes even on Windows!!
  312. # e.g. c:/groovy
  313. #
  314. # RESTART REQUIRED
  315. # SINCE 0.8.0
  316. # BASEFOLDER
  317. groovy.scriptsFolder = ${baseFolder}/groovy
  318. # Specify the directory Grape uses for downloading libraries.
  319. # http://groovy.codehaus.org/Grape
  320. #
  321. # RESTART REQUIRED
  322. # SINCE 1.0.0
  323. # BASEFOLDER
  324. groovy.grapeFolder = ${baseFolder}/groovy/grape
  325. # Scripts to execute on Pre-Receive.
  326. #
  327. # These scripts execute after an incoming push has been parsed and validated
  328. # but BEFORE the changes are applied to the repository. You might reject a
  329. # push in this script based on the repository and branch the push is attempting
  330. # to change.
  331. #
  332. # Script names are case-sensitive on case-sensitive file systems. You may omit
  333. # the traditional ".groovy" from this list if your file extension is ".groovy"
  334. #
  335. # NOTE:
  336. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  337. # tooling you may be using. Also note that these scripts are shared between
  338. # repositories. These are NOT repository-specific scripts! Within the script
  339. # you may customize the control-flow for a specific repository by checking the
  340. # *repository* variable.
  341. #
  342. # SPACE-DELIMITED
  343. # CASE-SENSITIVE
  344. # SINCE 0.8.0
  345. groovy.preReceiveScripts =
  346. # Scripts to execute on Post-Receive.
  347. #
  348. # These scripts execute AFTER an incoming push has been applied to a repository.
  349. # You might trigger a continuous-integration build here or send a notification.
  350. #
  351. # Script names are case-sensitive on case-sensitive file systems. You may omit
  352. # the traditional ".groovy" from this list if your file extension is ".groovy"
  353. #
  354. # NOTE:
  355. # These scripts are only executed when pushing to *Gitblit*, not to other Git
  356. # tooling you may be using. Also note that these scripts are shared between
  357. # repositories. These are NOT repository-specific scripts! Within the script
  358. # you may customize the control-flow for a specific repository by checking the
  359. # *repository* variable.
  360. #
  361. # SPACE-DELIMITED
  362. # CASE-SENSITIVE
  363. # SINCE 0.8.0
  364. groovy.postReceiveScripts =
  365. # Repository custom fields for Groovy Hook mechanism
  366. #
  367. # List of key=label pairs of custom fields to prompt for in the Edit Repository
  368. # page. These keys are stored in the repository's git config file in the
  369. # section [gitblit "customFields"]. Key names are alphanumeric only. These
  370. # fields are intended to be used for the Groovy hook mechanism where a script
  371. # can adjust it's execution based on the custom fields stored in the repository
  372. # config.
  373. #
  374. # e.g. "commitMsgRegex=Commit Message Regular Expression" anotherProperty=Another
  375. #
  376. # SPACE-DELIMITED
  377. # SINCE 1.0.0
  378. groovy.customFields =
  379. #
  380. # Fanout Settings
  381. #
  382. # Fanout is a PubSub notification service that can be used by Sparkleshare
  383. # to eliminate repository change polling. The fanout service runs in a separate
  384. # thread on a separate port from the Gitblit http/https application.
  385. # This service is provided so that Sparkleshare may be used with Gitblit in
  386. # firewalled environments or where reliance on Sparkleshare's default notifications
  387. # server (notifications.sparkleshare.org) is unwanted.
  388. #
  389. # This service maintains an open socket connection from the client to the
  390. # Fanout PubSub service. This service may not work properly behind a proxy server.
  391. # Specify the interface for Fanout to bind it's service.
  392. # You may specify an ip or an empty value to bind to all interfaces.
  393. # Specifying localhost will result in Gitblit ONLY listening to requests to
  394. # localhost.
  395. #
  396. # SINCE 1.2.1
  397. # RESTART REQUIRED
  398. fanout.bindInterface = localhost
  399. # port for serving the Fanout PubSub service. <= 0 disables this service.
  400. # On Unix/Linux systems, ports < 1024 require root permissions.
  401. # Recommended value: 17000
  402. #
  403. # SINCE 1.2.1
  404. # RESTART REQUIRED
  405. fanout.port = 0
  406. # Use Fanout NIO service. If false, a multi-threaded socket service will be used.
  407. # Be advised, the socket implementation spawns a thread per connection plus the
  408. # connection acceptor thread. The NIO implementation is completely single-threaded.
  409. #
  410. # SINCE 1.2.1
  411. # RESTART REQUIRED
  412. fanout.useNio = true
  413. # Concurrent connection limit. <= 0 disables concurrent connection throttling.
  414. # If > 0, only the specified number of concurrent connections will be allowed
  415. # and all other connections will be rejected.
  416. #
  417. # SINCE 1.2.1
  418. # RESTART REQUIRED
  419. fanout.connectionLimit = 0
  420. #
  421. # Authentication Settings
  422. #
  423. # Require authentication to see everything but the admin pages
  424. #
  425. # SINCE 0.5.0
  426. # RESTART REQUIRED
  427. web.authenticateViewPages = false
  428. # If web.authenticateViewPages=true you may optionally require a client-side
  429. # basic authentication prompt instead of the standard form-based login.
  430. #
  431. # SINCE 1.3.0
  432. web.enforceHttpBasicAuthentication = false
  433. # Require admin authentication for the admin functions and pages
  434. #
  435. # SINCE 0.5.0
  436. # RESTART REQUIRED
  437. web.authenticateAdminPages = true
  438. # Allow Gitblit to store a cookie in the user's browser for automatic
  439. # authentication. The cookie is generated by the user service.
  440. #
  441. # SINCE 0.5.0
  442. web.allowCookieAuthentication = true
  443. # Config file for storing project metadata
  444. #
  445. # SINCE 1.2.0
  446. # BASEFOLDER
  447. web.projectsFile = ${baseFolder}/projects.conf
  448. # Either the full path to a user config file (users.conf)
  449. # OR the full path to a simple user properties file (users.properties)
  450. # OR a fully qualified class name that implements the IUserService interface.
  451. #
  452. # Alternative user services:
  453. # com.gitblit.LdapUserService
  454. # com.gitblit.RedmineUserService
  455. # com.gitblit.SalesforceUserService
  456. # com.gitblit.WindowsUserService
  457. #
  458. # Any custom user service implementation must have a public default constructor.
  459. #
  460. # SINCE 0.5.0
  461. # RESTART REQUIRED
  462. # BASEFOLDER
  463. realm.userService = ${baseFolder}/users.conf
  464. # How to store passwords.
  465. # Valid values are plain, md5, or combined-md5. md5 is the hash of password.
  466. # combined-md5 is the hash of username.toLowerCase()+password.
  467. # Default is md5.
  468. #
  469. # SINCE 0.5.0
  470. realm.passwordStorage = md5
  471. # Minimum valid length for a plain text password.
  472. # Default value is 5. Absolute minimum is 4.
  473. #
  474. # SINCE 0.5.0
  475. realm.minPasswordLength = 5
  476. #
  477. # Gitblit Web Settings
  478. #
  479. # If blank Gitblit is displayed.
  480. #
  481. # SINCE 0.5.0
  482. web.siteName =
  483. # If *web.authenticateAdminPages*=true, users with "admin" role can create
  484. # repositories, create users, and edit repository metadata.
  485. #
  486. # If *web.authenticateAdminPages*=false, any user can execute the aforementioned
  487. # functions.
  488. #
  489. # SINCE 0.5.0
  490. web.allowAdministration = true
  491. # Allows rpc clients to list repositories and possibly manage or administer the
  492. # Gitblit server, if the authenticated account has administrator permissions.
  493. # See *web.enableRpcManagement* and *web.enableRpcAdministration*.
  494. #
  495. # SINCE 0.7.0
  496. web.enableRpcServlet = true
  497. # Allows rpc clients to manage repositories and users of the Gitblit instance,
  498. # if the authenticated account has administrator permissions.
  499. # Requires *web.enableRpcServlet=true*.
  500. #
  501. # SINCE 0.7.0
  502. web.enableRpcManagement = false
  503. # Allows rpc clients to control the server settings and monitor the health of this
  504. # this Gitblit instance, if the authenticated account has administrator permissions.
  505. # Requires *web.enableRpcServlet=true* and *web.enableRpcManagement*.
  506. #
  507. # SINCE 0.7.0
  508. web.enableRpcAdministration = false
  509. # Full path to a configurable robots.txt file. With this file you can control
  510. # what parts of your Gitblit server respectable robots are allowed to traverse.
  511. # http://googlewebmastercentral.blogspot.com/2008/06/improving-on-robots-exclusion-protocol.html
  512. #
  513. # SINCE 1.0.0
  514. # BASEFOLDER
  515. web.robots.txt = ${baseFolder}/robots.txt
  516. # If true, the web ui layout will respond and adapt to the browser's dimensions.
  517. # if false, the web ui will use a 940px fixed-width layout.
  518. # http://twitter.github.com/bootstrap/scaffolding.html#responsive
  519. #
  520. # SINCE 1.0.0
  521. web.useResponsiveLayout = true
  522. # Allow Gravatar images to be displayed in Gitblit pages.
  523. #
  524. # SINCE 0.8.0
  525. web.allowGravatar = true
  526. # Allow dynamic zip downloads.
  527. #
  528. # SINCE 0.5.0
  529. web.allowZipDownloads = true
  530. # If *web.allowZipDownloads=true* the following formats will be displayed for
  531. # download compressed archive links:
  532. #
  533. # zip = standard .zip
  534. # tar = standard tar format (preserves *nix permissions and symlinks)
  535. # gz = gz-compressed tar
  536. # xz = xz-compressed tar
  537. # bzip2 = bzip2-compressed tar
  538. #
  539. # SPACE-DELIMITED
  540. # SINCE 1.2.0
  541. web.compressedDownloads = zip gz
  542. # Allow optional Lucene integration. Lucene indexing is an opt-in feature.
  543. # A repository may specify branches to index with Lucene instead of using Git
  544. # commit traversal. There are scenarios where you may want to completely disable
  545. # Lucene indexing despite a repository specifying indexed branches. One such
  546. # scenario is on a resource-constrained federated Gitblit mirror.
  547. #
  548. # SINCE 0.9.0
  549. web.allowLuceneIndexing = true
  550. # Allows an authenticated user to create forks of a repository
  551. #
  552. # set this to false if you want to disable all fork controls on the web site
  553. #
  554. web.allowForking = true
  555. # Controls the length of shortened commit hash ids
  556. #
  557. # SINCE 1.2.0
  558. web.shortCommitIdLength = 6
  559. # Use Clippy (Flash solution) to provide a copy-to-clipboard button.
  560. # If false, a button with a more primitive JavaScript-based prompt box will
  561. # offer a 3-step (click, ctrl+c, enter) copy-to-clipboard alternative.
  562. #
  563. # SINCE 0.8.0
  564. web.allowFlashCopyToClipboard = true
  565. # Default maximum number of commits that a repository may contribute to the
  566. # activity page, regardless of the selected duration. This setting may be valuable
  567. # for an extremely busy server. This value may also be configed per-repository
  568. # in Edit Repository. 0 disables this throttle.
  569. #
  570. # SINCE 1.2.0
  571. web.maxActivityCommits = 0
  572. # Default number of entries to include in RSS Syndication links
  573. #
  574. # SINCE 0.5.0
  575. web.syndicationEntries = 25
  576. # Show the size of each repository on the repositories page.
  577. # This requires recursive traversal of each repository folder. This may be
  578. # non-performant on some operating systems and/or filesystems.
  579. #
  580. # SINCE 0.5.2
  581. web.showRepositorySizes = true
  582. # List of custom regex expressions that can be displayed in the Filters menu
  583. # of the Repositories and Activity pages. Keep them very simple because you
  584. # are likely to run into encoding issues if they are too complex.
  585. #
  586. # Use !!! to separate the filters
  587. #
  588. # SINCE 0.8.0
  589. web.customFilters =
  590. # Show federation registrations (without token) and the current pull status
  591. # to non-administrator users.
  592. #
  593. # SINCE 0.6.0
  594. web.showFederationRegistrations = false
  595. # This is the message displayed when *web.authenticateViewPages=true*.
  596. # This can point to a file with Markdown content.
  597. # Specifying "gitblit" uses the internal login message.
  598. #
  599. # SINCE 0.7.0
  600. # BASEFOLDER
  601. web.loginMessage = gitblit
  602. # This is the message displayed above the repositories table.
  603. # This can point to a file with Markdown content.
  604. # Specifying "gitblit" uses the internal welcome message.
  605. #
  606. # SINCE 0.5.0
  607. # BASEFOLDER
  608. web.repositoriesMessage = gitblit
  609. # Ordered list of charsets/encodings to use when trying to display a blob.
  610. # If empty, UTF-8 and ISO-8859-1 are used. The server's default charset
  611. # is always appended to the encoding list. If all encodings fail to cleanly
  612. # decode the blob content, UTF-8 will be used with the standard malformed
  613. # input/unmappable character replacement strings.
  614. #
  615. # SPACE-DELIMITED
  616. # SINCE 1.0.0
  617. web.blobEncodings = UTF-8 ISO-8859-1
  618. # Manually set the default timezone to be used by Gitblit for display in the
  619. # web ui. This value is independent of the JVM timezone. Specifying a blank
  620. # value will default to the JVM timezone.
  621. # e.g. America/New_York, US/Pacific, UTC, Europe/Berlin
  622. #
  623. # SINCE 0.9.0
  624. # RESTART REQUIRED
  625. web.timezone =
  626. # Use the client timezone when formatting dates.
  627. # This uses AJAX to determine the browser's timezone and may require more
  628. # server overhead because a Wicket session is created. All Gitblit pages
  629. # attempt to be stateless, if possible.
  630. #
  631. # SINCE 0.5.0
  632. # RESTART REQUIRED
  633. web.useClientTimezone = false
  634. # Time format
  635. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  636. #
  637. # SINCE 0.8.0
  638. web.timeFormat = HH:mm
  639. # Short date format
  640. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  641. #
  642. # SINCE 0.5.0
  643. web.datestampShortFormat = yyyy-MM-dd
  644. # Long date format
  645. #
  646. # SINCE 0.8.0
  647. web.datestampLongFormat = EEEE, MMMM d, yyyy
  648. # Long timestamp format
  649. # <http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html>
  650. #
  651. # SINCE 0.5.0
  652. web.datetimestampLongFormat = EEEE, MMMM d, yyyy HH:mm Z
  653. # Mount URL parameters
  654. # This setting controls if pretty or parameter URLs are used.
  655. # i.e.
  656. # if true:
  657. # http://localhost/commit/myrepo/abcdef
  658. # if false:
  659. # http://localhost/commit/?r=myrepo&h=abcdef
  660. #
  661. # SINCE 0.5.0
  662. # RESTART REQUIRED
  663. web.mountParameters = true
  664. # Some servlet containers (e.g. Tomcat >= 6.0.10) disallow '/' (%2F) encoding
  665. # in URLs as a security precaution for proxies. This setting tells Gitblit
  666. # to preemptively replace '/' with '*' or '!' for url string parameters.
  667. #
  668. # <https://issues.apache.org/jira/browse/WICKET-1303>
  669. # <http://tomcat.apache.org/security-6.html#Fixed_in_Apache_Tomcat_6.0.10>
  670. # Add *-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true* to your
  671. # *CATALINA_OPTS* or to your JVM launch parameters
  672. #
  673. # SINCE 0.5.2
  674. web.forwardSlashCharacter = /
  675. # Show other URLs on the summary page for accessing your git repositories
  676. # Use spaces to separate urls.
  677. #
  678. # {0} is the token for the repository name
  679. # {1} is the token for the username
  680. #
  681. # The username is only practical if you have setup your other git serving
  682. # solutions accounts to have the same username as the Gitblit account.
  683. #
  684. # e.g.
  685. # web.otherUrls = ssh://localhost/git/{0} git://localhost/git/{0} https://{1}@localhost/r/{0}
  686. #
  687. # SPACE-DELIMITED
  688. # SINCE 0.5.0
  689. web.otherUrls =
  690. # Should app-specific clone links be displayed for SourceTree, SparkleShare, etc?
  691. #
  692. # SINCE 1.3.0
  693. web.allowAppCloneLinks = true
  694. # Choose how to present the repositories list.
  695. # grouped = group nested/subfolder repositories together (no sorting)
  696. # flat = flat list of repositories (sorting allowed)
  697. #
  698. # SINCE 0.5.0
  699. web.repositoryListType = grouped
  700. # If using a grouped repository list and there are repositories at the
  701. # root level of your repositories folder, you may specify the displayed
  702. # group name with this setting. This value is only used for web presentation.
  703. #
  704. # SINCE 0.5.0
  705. web.repositoryRootGroupName = main
  706. # Display the repository swatch color next to the repository name link in the
  707. # repositories list.
  708. #
  709. # SINCE 0.8.0
  710. web.repositoryListSwatches = true
  711. # Choose the diff presentation style: gitblt, gitweb, or plain
  712. #
  713. # SINCE 0.5.0
  714. web.diffStyle = gitblit
  715. # Control if email addresses are shown in web ui
  716. #
  717. # SINCE 0.5.0
  718. web.showEmailAddresses = true
  719. # Shows a combobox in the page links header with commit, committer, and author
  720. # search selection. Default search is commit.
  721. #
  722. # SINCE 0.5.0
  723. web.showSearchTypeSelection = false
  724. # Generates a line graph of repository activity over time on the Summary page.
  725. # This uses the Google Charts API.
  726. #
  727. # SINCE 0.5.0
  728. web.generateActivityGraph = true
  729. # The default number of days to show on the activity page.
  730. # Value must exceed 0 else default of 7 is used
  731. #
  732. # SINCE 0.8.0
  733. web.activityDuration = 7
  734. # Choices for days of activity to display.
  735. #
  736. # SPACE-DELIMITED
  737. # SINCE 1.3.0
  738. web.activityDurationChoices = 7 14 28 60 90 180
  739. # Case-insensitive list of authors to exclude from metrics. Useful for
  740. # eliminating bots.
  741. #
  742. # SPACE-DELIMITED
  743. # SINCE 1.3.0
  744. web.metricAuthorExclusions =
  745. # The number of commits to display on the summary page
  746. # Value must exceed 0 else default of 20 is used
  747. #
  748. # SINCE 0.5.0
  749. web.summaryCommitCount = 16
  750. # The number of tags/branches to display on the summary page.
  751. # -1 = all tags/branches
  752. # 0 = hide tags/branches
  753. # N = N tags/branches
  754. #
  755. # SINCE 0.5.0
  756. web.summaryRefsCount = 5
  757. # The number of items to show on a page before showing the first, prev, next
  758. # pagination links. A default of 50 is used for any invalid value.
  759. #
  760. # SINCE 0.5.0
  761. web.itemsPerPage = 50
  762. # The number of reflog changes to display on the overview page
  763. # Value must exceed 0 else default of 5 is used
  764. #
  765. # SINCE 1.3.0
  766. web.overviewReflogCount = 5
  767. # The number of reflog changes to show on a reflog page before show the first,
  768. # prev, next pagination links. A default of 10 is used for any invalid value.
  769. #
  770. # SINCE 1.3.0
  771. web.reflogChangesPerPage = 10
  772. # Registered file extensions to ignore during Lucene indexing
  773. #
  774. # SPACE-DELIMITED
  775. # SINCE 0.9.0
  776. web.luceneIgnoreExtensions = 7z arc arj bin bmp dll doc docx exe gif gz jar jpg lib lzh odg odf odt pdf ppt png so swf xcf xls xlsx zip
  777. # Registered extensions for google-code-prettify
  778. #
  779. # SPACE-DELIMITED
  780. # SINCE 0.5.0
  781. web.prettyPrintExtensions = aea agc basic c cbm cl clj cpp cs css dart el erl erlang frm fs go groovy hs htm html java js latex lisp ll llvm lsp lua ml moxie mumps n nemerle pascal php pl prefs properties proto py r R rb rd Rd rkt s S scala scm sh Splus sql ss tcl tex vb vbs vhd vhdl wiki xml xq xquery yaml yml ymlapollo
  782. # Registered extensions for markdown transformation
  783. #
  784. # SPACE-DELIMITED
  785. # CASE-SENSITIVE
  786. # SINCE 0.5.0
  787. web.markdownExtensions = md mkd markdown MD MKD
  788. # Image extensions
  789. #
  790. # SPACE-DELIMITED
  791. # SINCE 0.5.0
  792. web.imageExtensions = bmp jpg gif png
  793. # Registered extensions for binary blobs
  794. #
  795. # SPACE-DELIMITED
  796. # SINCE 0.5.0
  797. web.binaryExtensions = jar pdf tar.gz zip
  798. # Aggressive heap management will run the garbage collector on every generated
  799. # page. This slows down page generation a little but improves heap consumption.
  800. #
  801. # SINCE 0.5.0
  802. web.aggressiveHeapManagement = false
  803. # Run the webapp in debug mode
  804. #
  805. # SINCE 0.5.0
  806. # RESTART REQUIRED
  807. web.debugMode = false
  808. # Force a default locale for all users, ignoring the browser's settings.
  809. # An empty value allows Gitblit to use the translation preferred by the browser.
  810. #
  811. # Changing this value while the server is running will only affect new sessions.
  812. #
  813. # e.g. web.forceDefaultLocale = en
  814. #
  815. # SINCE 1.3.0
  816. web.forceDefaultLocale =
  817. # Enable/disable global regex substitutions (i.e. shared across repositories)
  818. #
  819. # SINCE 0.5.0
  820. regex.global = true
  821. # Example global regex substitutions
  822. # Use !!! to separate the search pattern and the replace pattern
  823. # searchpattern!!!replacepattern
  824. # SINCE 0.5.0
  825. regex.global.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://somehost/bug/$3">Bug-Id: $3</a>
  826. # SINCE 0.5.0
  827. regex.global.changeid = \\b(Change-Id:\\s*)([A-Za-z0-9]*)\\b!!!<a href="http://somehost/changeid/$2">Change-Id: $2</a>
  828. # Example per-repository regex substitutions overrides global
  829. # SINCE 0.5.0
  830. regex.myrepository.bug = \\b(Bug:)(\\s*[#]?|-){0,1}(\\d+)\\b!!!<a href="http://elsewhere/bug/$3">Bug-Id: $3</a>
  831. #
  832. # Mail Settings
  833. # SINCE 0.6.0
  834. #
  835. # Mail settings are used to notify administrators of received federation proposals
  836. #
  837. # ip or hostname of smtp server
  838. #
  839. # SINCE 0.6.0
  840. mail.server =
  841. # port to use for smtp requests
  842. #
  843. # SINCE 0.6.0
  844. mail.port = 25
  845. # debug the mail executor
  846. #
  847. # SINCE 0.6.0
  848. mail.debug = false
  849. # use SMTPs flag
  850. mail.smtps = false
  851. # if your smtp server requires authentication, supply the credentials here
  852. #
  853. # SINCE 0.6.0
  854. mail.username =
  855. # SINCE 0.6.0
  856. mail.password =
  857. # from address for generated emails
  858. #
  859. # SINCE 0.6.0
  860. mail.fromAddress =
  861. # List of email addresses for the Gitblit administrators
  862. #
  863. # SPACE-DELIMITED
  864. # SINCE 0.6.0
  865. mail.adminAddresses =
  866. # List of email addresses for sending push email notifications.
  867. #
  868. # This key currently requires use of the sendemail.groovy hook script.
  869. # If you set sendemail.groovy in *groovy.postReceiveScripts* then email
  870. # notifications for all repositories (regardless of access restrictions!)
  871. # will be sent to these addresses.
  872. #
  873. # SPACE-DELIMITED
  874. # SINCE 0.8.0
  875. mail.mailingLists =
  876. #
  877. # Federation Settings
  878. # SINCE 0.6.0
  879. #
  880. # A Gitblit federation is a way to backup one Gitblit instance to another.
  881. #
  882. # *git.enableGitServlet* must be true to use this feature.
  883. # Your federation name is used for federation status acknowledgments. If it is
  884. # unset, and you elect to send a status acknowledgment, your Gitblit instance
  885. # will be identified by its hostname, if available, else your internal ip address.
  886. # The source Gitblit instance will also append your external IP address to your
  887. # identification to differentiate multiple pulling systems behind a single proxy.
  888. #
  889. # SINCE 0.6.0
  890. federation.name =
  891. # Specify the passphrase of this Gitblit instance.
  892. #
  893. # An unspecified (empty) passphrase disables processing federation requests.
  894. #
  895. # This value can be anything you want: an integer, a sentence, an haiku, etc.
  896. # Keep the value simple, though, to avoid Java properties file encoding issues.
  897. #
  898. # Changing your passphrase will break any registrations you have established with other
  899. # Gitblit instances.
  900. #
  901. # CASE-SENSITIVE
  902. # SINCE 0.6.0
  903. # RESTART REQUIRED *(only to enable or disable federation)*
  904. federation.passphrase =
  905. # Control whether or not this Gitblit instance can receive federation proposals
  906. # from another Gitblit instance. Registering a federated Gitblit is a manual
  907. # process. Proposals help to simplify that process by allowing a remote Gitblit
  908. # instance to send your Gitblit instance the federation pull data.
  909. #
  910. # SINCE 0.6.0
  911. federation.allowProposals = false
  912. # The destination folder for cached federation proposals.
  913. # Use forward slashes even on Windows!!
  914. #
  915. # SINCE 0.6.0
  916. # BASEFOLDER
  917. federation.proposalsFolder = ${baseFolder}/proposals
  918. # The default pull frequency if frequency is unspecified on a registration
  919. #
  920. # SINCE 0.6.0
  921. federation.defaultFrequency = 60 mins
  922. # Federation Sets are named groups of repositories. The Federation Sets are
  923. # available for selection in the repository settings page. You can assign a
  924. # repository to one or more sets and then distribute the token for the set.
  925. # This allows you to grant federation pull access to a subset of your available
  926. # repositories. Tokens for federation sets only grant repository pull access.
  927. #
  928. # SPACE-DELIMITED
  929. # CASE-SENSITIVE
  930. # SINCE 0.6.0
  931. federation.sets =
  932. # Federation pull registrations
  933. # Registrations are read once, at startup.
  934. #
  935. # RESTART REQUIRED
  936. #
  937. # frequency:
  938. # The shortest frequency allowed is every 5 minutes
  939. # Decimal frequency values are cast to integers
  940. # Frequency values may be specified in mins, hours, or days
  941. # Values that can not be parsed or are unspecified default to *federation.defaultFrequency*
  942. #
  943. # folder:
  944. # if unspecified, the folder is *git.repositoriesFolder*
  945. # if specified, the folder is relative to *git.repositoriesFolder*
  946. #
  947. # bare:
  948. # if true, each repository will be created as a *bare* repository and will not
  949. # have a working directory.
  950. #
  951. # if false, each repository will be created as a normal repository suitable
  952. # for local work.
  953. #
  954. # mirror:
  955. # if true, each repository HEAD is reset to *origin/master* after each pull.
  956. # The repository will be flagged *isFrozen* after the initial clone.
  957. #
  958. # if false, each repository HEAD will point to the FETCH_HEAD of the initial
  959. # clone from the origin until pushed to or otherwise manipulated.
  960. #
  961. # mergeAccounts:
  962. # if true, remote accounts and their permissions are merged into your
  963. # users.properties file
  964. #
  965. # notifyOnError:
  966. # if true and the mail configuration is properly set, administrators will be
  967. # notified by email of pull failures
  968. #
  969. # include and exclude:
  970. # Space-delimited list of repositories to include or exclude from pull
  971. # may be * wildcard to include or exclude all
  972. # may use fuzzy match (e.g. org.eclipse.*)
  973. #
  974. # (Nearly) Perfect Mirror example
  975. #
  976. #federation.example1.url = https://go.gitblit.com
  977. #federation.example1.token = 6f3b8a24bf970f17289b234284c94f43eb42f0e4
  978. #federation.example1.frequency = 120 mins
  979. #federation.example1.folder =
  980. #federation.example1.bare = true
  981. #federation.example1.mirror = true
  982. #federation.example1.mergeAccounts = true
  983. #
  984. # Advanced Realm Settings
  985. #
  986. # Auto-creates user accounts based on the servlet container principal. This
  987. # assumes that your Gitblit install is a protected resource and your container's
  988. # authentication process intercepts all Gitblit requests.
  989. #
  990. # SINCE 1.3.0
  991. realm.container.autoCreateAccounts = false
  992. # The WindowsUserService must be backed by another user service for standard user
  993. # and team management.
  994. # default: users.conf
  995. #
  996. # RESTART REQUIRED
  997. # BASEFOLDER
  998. # SINCE 1.3.0
  999. realm.windows.backingUserService = ${baseFolder}/users.conf
  1000. # Allow or prohibit Windows guest account logins
  1001. #
  1002. # SINCE 1.3.0
  1003. realm.windows.allowGuests = false
  1004. # The default domain for authentication.
  1005. #
  1006. # If specified, this domain will be used for authentication UNLESS the supplied
  1007. # login name manually specifies a domain (.e.g. mydomain\james or james@mydomain)
  1008. #
  1009. # If unspecified, the username must be specified in UPN format (name@domain).
  1010. #
  1011. # if "." (dot) is specified, ONLY the local account database will be used.
  1012. #
  1013. # SINCE 1.3.0
  1014. realm.windows.defaultDomain =
  1015. # The SalesforceUserService must be backed by another user service for standard user
  1016. # and team management.
  1017. # default: users.conf
  1018. #
  1019. # RESTART REQUIRED
  1020. # BASEFOLDER
  1021. # SINCE 1.3.0
  1022. realm.salesforce.backingUserService = ${baseFolder}/users.conf
  1023. # Restrict the Salesforce user to members of this org.
  1024. # default: 0 (i.e. do not check the Org ID)
  1025. #
  1026. # SINCE 1.3.0
  1027. realm.salesforce.orgId = 0
  1028. # URL of the LDAP server.
  1029. # To use encrypted transport, use either ldaps:// URL for SSL or ldap+tls:// to
  1030. # send StartTLS command.
  1031. #
  1032. # SINCE 1.0.0
  1033. realm.ldap.server = ldap://localhost
  1034. # Login username for LDAP searches.
  1035. # If this value is unspecified, anonymous LDAP login will be used.
  1036. #
  1037. # e.g. mydomain\\username
  1038. #
  1039. # SINCE 1.0.0
  1040. realm.ldap.username = cn=Directory Manager
  1041. # Login password for LDAP searches.
  1042. #
  1043. # SINCE 1.0.0
  1044. realm.ldap.password = password
  1045. # The LdapUserService must be backed by another user service for standard user
  1046. # and team management.
  1047. # default: users.conf
  1048. #
  1049. # SINCE 1.0.0
  1050. # RESTART REQUIRED
  1051. # BASEFOLDER
  1052. realm.ldap.backingUserService = ${baseFolder}/users.conf
  1053. # Delegate team membership control to LDAP.
  1054. #
  1055. # If true, team user memberships will be specified by LDAP groups. This will
  1056. # disable team selection in Edit User and user selection in Edit Team.
  1057. #
  1058. # If false, LDAP will only be used for authentication and Gitblit will maintain
  1059. # team memberships with the *realm.ldap.backingUserService*.
  1060. #
  1061. # SINCE 1.0.0
  1062. realm.ldap.maintainTeams = false
  1063. # Root node for all LDAP users
  1064. #
  1065. # This is the root node from which subtree user searches will begin.
  1066. # If blank, Gitblit will search ALL nodes.
  1067. #
  1068. # SINCE 1.0.0
  1069. realm.ldap.accountBase = OU=Users,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1070. # Filter criteria for LDAP users
  1071. #
  1072. # Query pattern to use when searching for a user account. This may be any valid
  1073. # LDAP query expression, including the standard (&) and (|) operators.
  1074. #
  1075. # Variables may be injected via the ${variableName} syntax.
  1076. # Recognized variables are:
  1077. # ${username} - The text entered as the user name
  1078. #
  1079. # SINCE 1.0.0
  1080. realm.ldap.accountPattern = (&(objectClass=person)(sAMAccountName=${username}))
  1081. # Root node for all LDAP groups to be used as Gitblit Teams
  1082. #
  1083. # This is the root node from which subtree team searches will begin.
  1084. # If blank, Gitblit will search ALL nodes.
  1085. #
  1086. # SINCE 1.0.0
  1087. realm.ldap.groupBase = OU=Groups,OU=UserControl,OU=MyOrganization,DC=MyDomain
  1088. # Filter criteria for LDAP groups
  1089. #
  1090. # Query pattern to use when searching for a team. This may be any valid
  1091. # LDAP query expression, including the standard (&) and (|) operators.
  1092. #
  1093. # Variables may be injected via the ${variableName} syntax.
  1094. # Recognized variables are:
  1095. # ${username} - The text entered as the user name
  1096. # ${dn} - The Distinguished Name of the user logged in
  1097. #
  1098. # All attributes from the LDAP User record are available. For example, if a user
  1099. # has an attribute "fullName" set to "John", "(fn=${fullName})" will be
  1100. # translated to "(fn=John)".
  1101. #
  1102. # SINCE 1.0.0
  1103. realm.ldap.groupMemberPattern = (&(objectClass=group)(member=${dn}))
  1104. # LDAP users or groups that should be given administrator privileges.
  1105. #
  1106. # Teams are specified with a leading '@' character. Groups with spaces in the
  1107. # name can be entered as "@team name".
  1108. #
  1109. # e.g. realm.ldap.admins = john @git_admins "@git admins"
  1110. #
  1111. # SPACE-DELIMITED
  1112. # SINCE 1.0.0
  1113. realm.ldap.admins = @Git_Admins
  1114. # Attribute(s) on the USER record that indicate their display (or full) name.
  1115. # Leave blank for no mapping available in LDAP.
  1116. #
  1117. # This may be a single attribute, or a string of multiple attributes. Examples:
  1118. # displayName - Uses the attribute 'displayName' on the user record
  1119. # ${personalTitle}. ${givenName} ${surname} - Will concatenate the 3
  1120. # attributes together, with a '.' after personalTitle
  1121. #
  1122. # SINCE 1.0.0
  1123. realm.ldap.displayName = displayName
  1124. # Attribute(s) on the USER record that indicate their email address.
  1125. # Leave blank for no mapping available in LDAP.
  1126. #
  1127. # This may be a single attribute, or a string of multiple attributes. Examples:
  1128. # email - Uses the attribute 'email' on the user record
  1129. # ${givenName}.${surname}@gitblit.com -Will concatenate the 2 attributes
  1130. # together with a '.' and '@' creating something like first.last@gitblit.com
  1131. #
  1132. # SINCE 1.0.0
  1133. realm.ldap.email = email
  1134. # Defines the cache period to be used when caching LDAP queries. This is currently
  1135. # only used for LDAP user synchronization.
  1136. #
  1137. # Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS'
  1138. # default: 2 MINUTES
  1139. #
  1140. # RESTART REQUIRED
  1141. realm.ldap.ldapCachePeriod = 2 MINUTES
  1142. # Defines whether to synchronize all LDAP users into the backing user service
  1143. #
  1144. # Valid values: true, false
  1145. # If left blank, false is assumed
  1146. realm.ldap.synchronizeUsers.enable = false
  1147. # Defines whether to delete non-existent LDAP users from the backing user service
  1148. # during synchronization. depends on realm.ldap.synchronizeUsers.enable = true
  1149. #
  1150. # Valid values: true, false
  1151. # If left blank, true is assumed
  1152. realm.ldap.synchronizeUsers.removeDeleted = true
  1153. # Attribute on the USER record that indicate their username to be used in gitblit
  1154. # when synchronizing users from LDAP
  1155. # if blank, Gitblit will use uid
  1156. # For MS Active Directory this may be sAMAccountName
  1157. realm.ldap.uid = uid
  1158. # The RedmineUserService must be backed by another user service for standard user
  1159. # and team management.
  1160. # default: users.conf
  1161. #
  1162. # RESTART REQUIRED
  1163. # BASEFOLDER
  1164. realm.redmine.backingUserService = ${baseFolder}/users.conf
  1165. # URL of the Redmine.
  1166. realm.redmine.url = http://example.com/redmine
  1167. #
  1168. # Server Settings
  1169. #
  1170. # The temporary folder to decompress the embedded gitblit webapp.
  1171. #
  1172. # SINCE 0.5.0
  1173. # RESTART REQUIRED
  1174. # BASEFOLDER
  1175. server.tempFolder = ${baseFolder}/temp
  1176. # Use Jetty NIO connectors. If false, Jetty Socket connectors will be used.
  1177. #
  1178. # SINCE 0.5.0
  1179. # RESTART REQUIRED
  1180. server.useNio = true
  1181. # Specify the maximum number of concurrent http/https worker threads to allow.
  1182. #
  1183. # SINCE 1.3.0
  1184. # RESTART REQUIRED
  1185. server.threadPoolSize = 50
  1186. # Context path for the GO application. You might want to change the context
  1187. # path if running Gitblit behind a proxy layer such as mod_proxy.
  1188. #
  1189. # SINCE 0.7.0
  1190. # RESTART REQUIRED
  1191. server.contextPath = /
  1192. # Standard http port to serve. <= 0 disables this connector.
  1193. # On Unix/Linux systems, ports < 1024 require root permissions.
  1194. # Recommended value: 80 or 8080
  1195. #
  1196. # SINCE 0.5.0
  1197. # RESTART REQUIRED
  1198. server.httpPort = 0
  1199. # Secure/SSL https port to serve. <= 0 disables this connector.
  1200. # On Unix/Linux systems, ports < 1024 require root permissions.
  1201. # Recommended value: 443 or 8443
  1202. #
  1203. # SINCE 0.5.0
  1204. # RESTART REQUIRED
  1205. server.httpsPort = 8443
  1206. # Port for serving an Apache JServ Protocol (AJP) 1.3 connector for integrating
  1207. # Gitblit GO into an Apache HTTP server setup. <= 0 disables this connector.
  1208. # Recommended value: 8009
  1209. #
  1210. # SINCE 0.9.0
  1211. # RESTART REQUIRED
  1212. server.ajpPort = 0
  1213. # Specify the interface for Jetty to bind the standard connector.
  1214. # You may specify an ip or an empty value to bind to all interfaces.
  1215. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1216. # localhost.
  1217. #
  1218. # SINCE 0.5.0
  1219. # RESTART REQUIRED
  1220. server.httpBindInterface = localhost
  1221. # Specify the interface for Jetty to bind the secure connector.
  1222. # You may specify an ip or an empty value to bind to all interfaces.
  1223. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1224. # localhost.
  1225. #
  1226. # SINCE 0.5.0
  1227. # RESTART REQUIRED
  1228. server.httpsBindInterface = localhost
  1229. # Specify the interface for Jetty to bind the AJP connector.
  1230. # You may specify an ip or an empty value to bind to all interfaces.
  1231. # Specifying localhost will result in Gitblit ONLY listening to requests to
  1232. # localhost.
  1233. #
  1234. # SINCE 0.9.0
  1235. # RESTART REQUIRED
  1236. server.ajpBindInterface = localhost
  1237. # Alias of certificate to use for https/SSL serving. If blank the first
  1238. # certificate found in the keystore will be used.
  1239. #
  1240. # SINCE 1.2.0
  1241. # RESTART REQUIRED
  1242. server.certificateAlias = localhost
  1243. # Password for SSL keystore.
  1244. # Keystore password and certificate password must match.
  1245. # This is provided for convenience, its probably more secure to set this value
  1246. # using the --storePassword command line parameter.
  1247. #
  1248. # If you are using the official JRE or JDK from Oracle you may not have the
  1249. # JCE Unlimited Strength Jurisdiction Policy files bundled with your JVM. Because
  1250. # of this, your store/key password can not exceed 7 characters. If you require
  1251. # longer passwords you may need to install the JCE Unlimited Strength Jurisdiction
  1252. # Policy files from Oracle.
  1253. #
  1254. # http://www.oracle.com/technetwork/java/javase/downloads/index.html
  1255. #
  1256. # Gitblit and the Gitblit Certificate Authority will both indicate if Unlimited
  1257. # Strength encryption is available.
  1258. #
  1259. # SINCE 0.5.0
  1260. # RESTART REQUIRED
  1261. server.storePassword = gitblit
  1262. # If serving over https (recommended) you might consider requiring clients to
  1263. # authenticate with ssl certificates. If enabled, only https clients with the
  1264. # a valid client certificate will be able to access Gitblit.
  1265. #
  1266. # If disabled, client certificate authentication is optional and will be tried
  1267. # first before falling-back to form authentication or basic authentication.
  1268. #
  1269. # Requiring client certificates to access any of Gitblit may be too extreme,
  1270. # consider this carefully.
  1271. #
  1272. # SINCE 1.2.0
  1273. # RESTART REQUIRED
  1274. server.requireClientCertificates = false
  1275. # Port for shutdown monitor to listen on.
  1276. #
  1277. # SINCE 0.5.0
  1278. # RESTART REQUIRED
  1279. server.shutdownPort = 8081