|
|
|
|
@ -20,13 +20,13 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
|
|
|
|
'use_path_style' => $use_path == true && strtolower($use_path) !== 'false',
|
|
|
|
|
// required for older protocol versions
|
|
|
|
|
'legacy_auth' => $use_legacyauth == true && strtolower($use_legacyauth) !== 'false',
|
|
|
|
|
'concurrency' => getenv('OBJECTSTORE_S3_CONCURRENCY') ?: 5,
|
|
|
|
|
'proxy' => getenv('OBJECTSTORE_S3_PROXY') ?: false,
|
|
|
|
|
'timeout' => getenv('OBJECTSTORE_S3_TIMEOUT') ?: 15,
|
|
|
|
|
'uploadPartSize' => getenv('OBJECTSTORE_S3_UPLOADPARTSIZE') ?: 524288000,
|
|
|
|
|
'putSizeLimit' => getenv('OBJECTSTORE_S3_PUTSIZELIMIT') ?: 104857600,
|
|
|
|
|
'version' => getenv('OBJECTSTORE_S3_VERSION') ?: "latest",
|
|
|
|
|
'verify_bucket_exists' => getenv('OBJECTSTORE_S3_VERIFY_BUCKET_EXISTS') ?: true
|
|
|
|
|
'concurrency' => getenv('OBJECTSTORE_S3_CONCURRENCY') ?: '',
|
|
|
|
|
'proxy' => getenv('OBJECTSTORE_S3_PROXY') ?: '',
|
|
|
|
|
'timeout' => getenv('OBJECTSTORE_S3_TIMEOUT') ?: '',
|
|
|
|
|
'uploadPartSize' => getenv('OBJECTSTORE_S3_UPLOADPARTSIZE') ?:'',
|
|
|
|
|
'putSizeLimit' => getenv('OBJECTSTORE_S3_PUTSIZELIMIT') ?: '',
|
|
|
|
|
'version' => getenv('OBJECTSTORE_S3_VERSION') ?: '',
|
|
|
|
|
'verify_bucket_exists' => getenv('OBJECTSTORE_S3_VERIFY_BUCKET_EXISTS') ?: ''
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
);
|
|
|
|
|
|