mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 14:06:50 +00:00
s3-config: adjust the multibucket setting
Signed-off-by: Simon L. <szaimen@e.mail.de> Co-Authored-By: Kate <26026535+provokateurin@users.noreply.github.com>
This commit is contained in:
parent
0e4b3b7a46
commit
f415bf201d
1 changed files with 2 additions and 1 deletions
|
|
@ -6,9 +6,10 @@ if (getenv('OBJECTSTORE_S3_BUCKET')) {
|
|||
$autocreate = getenv('OBJECTSTORE_S3_AUTOCREATE');
|
||||
$multibucket = getenv('OBJECTSTORE_S3_MULTIBUCKET');
|
||||
$CONFIG = array(
|
||||
$multibucket === 'true' ? 'objectstore_multibucket' : 'objectstore' => array(
|
||||
'objectstore' => array(
|
||||
'class' => '\OC\Files\ObjectStore\S3',
|
||||
'arguments' => array(
|
||||
'multibucket' => $multibucket === 'true',
|
||||
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
|
||||
'key' => getenv('OBJECTSTORE_S3_KEY') ?: '',
|
||||
'secret' => getenv('OBJECTSTORE_S3_SECRET') ?: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue