0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-02-06 19:38:26 +01:00

Update .config/s3.config.php - don't set defaults for new s3 values

Signed-off-by: Jesse Hitch <jessebot@linux.com>
This commit is contained in:
Jesse Hitch 2024-09-24 11:14:06 +02:00
parent 61fda52036
commit f925ce2306

View file

@ -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') ?: ''
)
)
);