Skip to content

Commit cc1debd

Browse files
committed
Some swift v3 example config
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent 45fdda6 commit cc1debd

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

config/config.sample.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,6 +1214,27 @@
12141214
],
12151215
],
12161216

1217+
/**
1218+
* To use swift V3
1219+
*/
1220+
'objectstore' => [
1221+
'class' => 'OC\\Files\\ObjectStore\\Swift',
1222+
'arguments' => [
1223+
'autocreate' => true,
1224+
'user' => [
1225+
'name' => 'swift',
1226+
'password' => 'swift',
1227+
'domain' => [
1228+
'name' => 'default',
1229+
]
1230+
],
1231+
'tenantName' => 'service',
1232+
'serviceName' => 'swift',
1233+
'region' => 'regionOne',
1234+
'url' => "http://yourswifthost:5000/v3",
1235+
'bucket' => 'nextcloud'
1236+
],
1237+
],
12171238

12181239
/**
12191240
* Sharing

0 commit comments

Comments
 (0)