mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* CB-5109 add beta features config param * CB-5109 rename param * CB-5060 feat: disable beta features * CB-5109 add param to config file --------- Co-authored-by: Alexey <wrouds@gmail.com> Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
100 lines
3.2 KiB
Plaintext
100 lines
3.2 KiB
Plaintext
{
|
|
server: {
|
|
serverPort: 8978,
|
|
|
|
workspaceLocation: "workspace",
|
|
contentRoot: "web",
|
|
driversLocation: "drivers",
|
|
|
|
rootURI: "/",
|
|
serviceURI: "/api/",
|
|
|
|
productSettings: {
|
|
# Global properties
|
|
core.theming.theme: 'light',
|
|
core.localization.localization: 'en',
|
|
plugin.sql-editor.autoSave: true,
|
|
plugin.sql-editor.disabled: false,
|
|
# max size of the file that can be uploaded to the editor (in kilobytes)
|
|
plugin.sql-editor.maxFileSize: 10240,
|
|
plugin.log-viewer.disabled: false,
|
|
plugin.log-viewer.logBatchSize: 1000,
|
|
plugin.log-viewer.maxFailedRequests: 3,
|
|
plugin.log-viewer.maxLogRecords: 2000,
|
|
plugin.log-viewer.refreshTimeout: 3000,
|
|
sql.proposals.insert.table.alias: PLAIN
|
|
},
|
|
|
|
expireSessionAfterPeriod: 1800000,
|
|
|
|
develMode: false,
|
|
|
|
enableSecurityManager: false,
|
|
|
|
database: {
|
|
driver:"h2_embedded_v2",
|
|
url: "jdbc:h2:${workspace}/.data/cb.h2v2.dat",
|
|
initialDataConfiguration: "conf/initial-data.conf",
|
|
pool: {
|
|
minIdleConnections: 4,
|
|
maxIdleConnections: 10,
|
|
maxConnections: 100,
|
|
validationQuery: "SELECT 1"
|
|
},
|
|
backupEnabled: "${CLOUDBEAVER_DB_BACKUP_ENABLED:true}"
|
|
},
|
|
sm: {
|
|
enableBruteForceProtection: "${CLOUDBEAVER_BRUTE_FORCE_PROTECTION_ENABLED:true}",
|
|
maxFailedLogin: "${CLOUDBEAVER_MAX_FAILED_LOGINS:10}",
|
|
minimumLoginTimeout: "${CLOUDBEAVER_MINIMUM_LOGIN_TIMEOUT:1}",
|
|
blockLoginPeriod: "${CLOUDBEAVER_BLOCK_PERIOD:300}",
|
|
passwordPolicy: {
|
|
minLength: "${CLOUDBEAVER_POLICY_MIN_LENGTH:8}",
|
|
requireMixedCase: "${CLOUDBEAVER_POLICY_REQUIRE_MIXED_CASE:true}",
|
|
minNumberCount: "${CLOUDBEAVER_POLICY_MIN_NUMBER_COUNT:1}",
|
|
minSymbolCount: "${CLOUDBEAVER_POLICY_MIN_SYMBOL_COUNT:0}"
|
|
}
|
|
}
|
|
|
|
},
|
|
app: {
|
|
anonymousAccessEnabled: true,
|
|
anonymousUserRole: "user",
|
|
grantConnectionsAccessToAnonymousTeam: false,
|
|
supportsCustomConnections: false,
|
|
showReadOnlyConnectionInfo: false,
|
|
systemVariablesResolvingEnabled: "${CLOUDBEAVER_SYSTEM_VARIABLES_RESOLVING_ENABLED:false}",
|
|
|
|
forwardProxy: false,
|
|
|
|
publicCredentialsSaveEnabled: true,
|
|
adminCredentialsSaveEnabled: true,
|
|
|
|
resourceManagerEnabled: true,
|
|
|
|
resourceQuotas: {
|
|
dataExportFileSizeLimit: 10000000,
|
|
resourceManagerFileSizeLimit: 500000,
|
|
sqlMaxRunningQueries: 100,
|
|
sqlResultSetRowsLimit: 100000,
|
|
sqlResultSetMemoryLimit: 2000000,
|
|
sqlTextPreviewMaxLength: 4096,
|
|
sqlBinaryPreviewMaxLength: 261120
|
|
},
|
|
enabledAuthProviders: [
|
|
"local"
|
|
],
|
|
|
|
disabledDrivers: [
|
|
"h2:h2_embedded",
|
|
"h2:h2_embedded_v2",
|
|
"clickhouse:yandex_clickhouse"
|
|
],
|
|
disabledBetaFeatures: [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|