|
|
|
|
@ -12,6 +12,7 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
|
|
|
|
'region' => getenv('OBJECTSTORE_S3_REGION') ?: '',
|
|
|
|
|
'hostname' => getenv('OBJECTSTORE_S3_HOST') ?: '',
|
|
|
|
|
'port' => getenv('OBJECTSTORE_S3_PORT') ?: '',
|
|
|
|
|
'storageClass' => getenv('OBJECTSTORE_S3_STORAGE_CLASS') ?: '',
|
|
|
|
|
'objectPrefix' => getenv("OBJECTSTORE_S3_OBJECT_PREFIX") ? getenv("OBJECTSTORE_S3_OBJECT_PREFIX") : "urn:oid:",
|
|
|
|
|
'autocreate' => (strtolower($autocreate) === 'false' || $autocreate == false) ? false : true,
|
|
|
|
|
'use_ssl' => (strtolower($use_ssl) === 'false' || $use_ssl == false) ? false : true,
|
|
|
|
|
@ -38,4 +39,4 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
|
|
|
|
} else {
|
|
|
|
|
$CONFIG['objectstore']['arguments']['secret'] = '';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|