@(info: Option[Any])(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.util.DatabaseConfig
Property | Value | |
---|---|---|
GITBUCKET_VERSION | @gitbucket.core.GitBucketCoreModule.getVersions.last.getVersion | |
GITBUCKET_HOME | @gitbucket.core.util.Directory.GitBucketHome | |
DATABASE_URL | @if(DatabaseConfig.url.startsWith("jdbc:h2:")) {
@gitbucket.core.util.DatabaseConfig.url Your GitBucket is running on embedded H2 database. Recommend to configure to use external database if you would like to use GitBucket for important purpose. |
}else{
@gitbucket.core.util.DatabaseConfig.url | }
The base URL is used for redirect, notification email, git repository URL box and more. If the base URL is empty, GitBucket generates URL from the request information. You can use this property to adjust to URL differences between the reverse proxy and GitBucket.