summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-26 18:30:00 +0100
committerGitHub <noreply@github.com>2018-02-26 18:30:00 +0100
commit8867629cf1b195b6c0e4616d8943f4fd31c42b7b (patch)
tree29f9677409501e78819e4c579e8e5e1c2f923888 /config
parent4076c091951543289b310119e0f4e598143364be (diff)
parentd40c61a71a718db01df5a2b145be14641e2c5163 (diff)
downloadnextcloud-server-8867629cf1b195b6c0e4616d8943f4fd31c42b7b.tar.gz
nextcloud-server-8867629cf1b195b6c0e4616d8943f4fd31c42b7b.zip
Merge pull request #8359 from nextcloud/swift-v3
Support swift v3 authentication
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