mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
extend s3 multi config
This commit is contained in:
parent
54f33cdf20
commit
dbf265370f
1 changed files with 31 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
'class' => 'OC\Files\ObjectStore\S3',
|
'class' => 'OC\Files\ObjectStore\S3',
|
||||||
'arguments' => [
|
'arguments' => [
|
||||||
'multibucket' => true,
|
'multibucket' => true,
|
||||||
'num_buckets' => 64,
|
'num_buckets' => 4,
|
||||||
'bucket' => 'nextcloud-',
|
'bucket' => 'nextcloud-',
|
||||||
'autocreate' => true,
|
'autocreate' => true,
|
||||||
'key' => 'minio',
|
'key' => 'minio',
|
||||||
|
|
@ -14,6 +14,36 @@
|
||||||
'use_path_style' => true,
|
'use_path_style' => true,
|
||||||
'uploadPartSize' => 52428800,
|
'uploadPartSize' => 52428800,
|
||||||
],
|
],
|
||||||
|
],
|
||||||
|
'multi' => [
|
||||||
|
'class' => 'OC\Files\ObjectStore\S3',
|
||||||
|
'arguments' => [
|
||||||
|
'multibucket' => true,
|
||||||
|
'num_buckets' => 8,
|
||||||
|
'bucket' => 'nextcloud-multi-',
|
||||||
|
'autocreate' => true,
|
||||||
|
'key' => 'minio',
|
||||||
|
'secret' => 'minio123',
|
||||||
|
'hostname' => 's3',
|
||||||
|
'port' => 9000,
|
||||||
|
'use_ssl' => false,
|
||||||
|
'use_path_style' => true,
|
||||||
|
'uploadPartSize' => 52428800,
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'since' => [
|
||||||
|
'class' => 'OC\Files\ObjectStore\S3',
|
||||||
|
'arguments' => [
|
||||||
|
'bucket' => 'nextcloud-single',
|
||||||
|
'autocreate' => true,
|
||||||
|
'key' => 'minio',
|
||||||
|
'secret' => 'minio123',
|
||||||
|
'hostname' => 's3',
|
||||||
|
'port' => 9000,
|
||||||
|
'use_ssl' => false,
|
||||||
|
'use_path_style' => true,
|
||||||
|
'uploadPartSize' => 52428800,
|
||||||
|
],
|
||||||
],
|
],
|
||||||
'root' => [
|
'root' => [
|
||||||
'class' => 'OC\Files\ObjectStore\S3',
|
'class' => 'OC\Files\ObjectStore\S3',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue