6
Tomcat8 configuration
TLCD96 edited this page 2022-10-31 16:21:18 -01:00

Tomcat depended configuration for gitbucket

I will add more info as i discover (@tlcd96)

location in ubuntu of catalina.properties

/var/lib/tomcat8/conf/catalina.properties

Max Size Upload

To set Maximum file upload, add to the end of catalina.properties

gitbucket.maxFileSize=(Size in KB)

Upload Timeout

To Set the Upload Timeout, add to the end of catalina.properties

gitbucket.UploadTimeout=(time*1000)

(the 1000 is the time in milliseconds, put the value after the multiplication)

for example:

30 seconds is gitbucket.UploadTimeout=30000

GitBucket Home

(i do not recommend changing this if you don't know what is does)

to change the gitbucket home, add to the end of catalina.properties

gitbucket.home=(DIR)

the rest of the configurations, as showed above, are in the same aspect as shown

configuration parameters

the configurations that you can configure in the catalina.properties are:

logging

the config to add to catalina.properties is:

logback.configurationFile=(dir)\logback.xml

see: Tracing and Logging for more info.

gitbucket.maxFileSize
gitbucket.UploadTimeout
gitbucket.home
gitbucket.pluginDir
gitbucket.validate.password
logback.configurationFile