82 lines
2.5 KiB
Plaintext
82 lines
2.5 KiB
Plaintext
{
|
|
server: {
|
|
serverPort: 8978,
|
|
serverHost: "127.0.0.1",
|
|
serverName: "[[ .instance ]]",
|
|
workspaceLocation: "/data",
|
|
contentRoot: "web",
|
|
driversLocation: "drivers",
|
|
serverURL: "[[ .public_url ]]",
|
|
rootURI: "[[ (urlParse .public_url).Path | regexp.Replace "/$" "" ]]/",
|
|
serviceURI: "[[ (urlParse .public_url).Path | regexp.Replace "/$" "" ]]/api/",
|
|
productConfiguration: "conf/product.conf",
|
|
expireSessionAfterPeriod: 600000,
|
|
develMode: false,
|
|
sm: {
|
|
enableBruteForceProtection: true,
|
|
expiredAuthAttemptInfoTtl: 60,
|
|
maxFailedLogin: "${CLOUDBEAVER_MAX_FAILED_LOGINS:5}",
|
|
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}"
|
|
}
|
|
},
|
|
database: {
|
|
driver: "postgres-jdbc",
|
|
url: "jdbc:postgresql://${PGHOST}:${PGPORT}/${PGDATABASE}",
|
|
user: "${PGUSER}",
|
|
password: "${PGPASSWORD}",
|
|
initialDataConfiguration: "/secrets/initial-data.conf",
|
|
pool: {
|
|
minIdleConnections: 4,
|
|
maxIdleConnections: 10,
|
|
maxConnections: 100,
|
|
validationQuery: "SELECT 1"
|
|
}
|
|
}
|
|
},
|
|
app: {
|
|
anonymousAccessAllowed: false,
|
|
anonymousUserTeam: "user",
|
|
authenticationEnabled: true,
|
|
supportsCustomConnections: true,
|
|
forwardProxy: true,
|
|
publicCredentialsSaveEnabled: false,
|
|
adminCredentialsSaveEnabled: false,
|
|
resourceManagerEnabled: true,
|
|
resourceQuotas: {
|
|
dataExportFileSizeLimit: 1000000000,
|
|
resourceManagerFileSizeLimit: 500000,
|
|
sqlMaxRunningQueries: 100,
|
|
sqlResultSetRowsLimit: 100000,
|
|
sqlResultSetMemoryLimit: 2000000,
|
|
sqlTextPreviewMaxLength: 4096,
|
|
sqlBinaryPreviewMaxLength: 261120
|
|
},
|
|
defaultNavigatorSettings: {
|
|
showSystemObjects: true,
|
|
showUtilityObjects: false,
|
|
showOnlyEntities: false,
|
|
mergeEntities: false,
|
|
hideFolders: false,
|
|
hideSchemas: false
|
|
},
|
|
plugins: {
|
|
},
|
|
enabledAuthProviders: [
|
|
"local"
|
|
],
|
|
enabledDrivers: [
|
|
],
|
|
disabledDrivers: [
|
|
"sqlite:sqlite_jdbc",
|
|
"h2:h2_embedded",
|
|
"h2:h2_embedded_v2"
|
|
]
|
|
}
|
|
}
|