-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
How to test S3 primary storage
Olivier Paroz edited this page May 19, 2017
·
1 revision
Install https://github.com/jubos/fake-s3 and start it:
sudo gem install fakes3
mkdir /tmp/s3
fakes3 -r /tmp/s3 -p 4567
In there now a subfolder per bucket is created and every object is stored inside a folder in there.
Configure Nextcloud:
'objectstore_multibucket' => [
'class' => 'OC\\Files\\ObjectStore\\S3',
'arguments' => [
'bucket' => 'abc',
'num_buckets' => 64,
'key' => '123',
'secret' => 'abc',
'hostname' => 'localhost',
'port' => '4567',
'use_ssl' => false,
'use_path_style' => 'true',
],
],
OR
'objectstore' => [
'class' => 'OC\\Files\\ObjectStore\\S3',
'arguments' => [
'bucket' => 'abc',
'key' => '123',
'secret' => 'abc',
'hostname' => 'localhost',
'port' => '4567',
'use_ssl' => false,
'use_path_style' => 'true',
],
],
Nextcloud is an open source project and an open company. That means it is yours to make a difference!
Enterprise? Public Sector or Education user? You may want to have a look into our Enterprise Support Subscriptions.