Some swift v3 example config

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-02-22 16:00:40 +01:00 committed by Robin Appelman
parent 9a201bd7fa
commit ae720b3881
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 22 additions and 0 deletions

View File

@ -1214,6 +1214,28 @@ $CONFIG = array(
],
],
/**
* To use swift V3
*/
'objectstore' => [
'class' => 'OC\\Files\\ObjectStore\\Swift',
'arguments' => [
'autocreate' => true,
'user' => [
'name' => 'swift',
'password' => 'swift',
'domain' => [
'name' => 'default',
]
],
'tenantName' => 'service',
'serviceName' => 'swift',
'region' => 'regionOne',
'url' => "http://yourswifthost:5000/v3",
'bucket' => 'nextcloud'
],
],
/**
* Sharing