summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-02-22 16:00:40 +0100
committerRobin Appelman <robin@icewind.nl>2018-02-26 14:54:24 +0100
commitae720b3881cd1b85c88375f873b41bd5490783c1 (patch)
tree611424f3ba1230b9b24533c1c5dc1a176a10dfbc /config
parent9a201bd7fa866664f31c57ccb27b7956ffcdceed (diff)
downloadnextcloud-server-ae720b3881cd1b85c88375f873b41bd5490783c1.tar.gz
nextcloud-server-ae720b3881cd1b85c88375f873b41bd5490783c1.zip
Some swift v3 example config
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index faeebb6fa8a..e91452a0720 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -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