From ae720b3881cd1b85c88375f873b41bd5490783c1 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 22 Feb 2018 16:00:40 +0100 Subject: Some swift v3 example config Signed-off-by: Roeland Jago Douma --- config/config.sample.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'config') 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 -- cgit v1.2.3