aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-06-13 15:50:14 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-06-18 12:53:20 +0200
commit1410cb10b4cb31a52901ee12e38a2c27d2177cf3 (patch)
treeb03913a7252986aa83980144c91dd1f6a4e23be2 /config
parent4e65889f54836e8f01af0b1b59879a8e6b739f27 (diff)
downloadnextcloud-server-1410cb10b4cb31a52901ee12e38a2c27d2177cf3.tar.gz
nextcloud-server-1410cb10b4cb31a52901ee12e38a2c27d2177cf3.zip
add 'objectstore' configuration example
Diffstat (limited to 'config')
-rwxr-xr-xconfig/config.sample.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 6da00fc12a5..da7d1c38220 100755
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -304,4 +304,27 @@ $CONFIG = array(
/* If true, prevent owncloud from changing the cache due to changes in the filesystem for all storage */
'filesystem_cache_readonly' => false,
+
+/*
+ * The example below shows how to configure ownCloud to store all files in a swift object storage
+ *
+ * It is important to note that ownCloud in object store mode will expect exclusive access
+ * to the object store container because it only stores the binary data for each file. The
+ * metadata is currently kept in the local database for performance reasons.
+ *
+ * To test apply for a trystack account at http://trystack.org/
+ */
+'objectstore' => array(
+ 'class' => 'OC\\Files\\ObjectStore\\Swift',
+ 'arguments' => array(
+ 'username' => 'facebook100000123456789', // trystack will user your facebook id as the user name
+ 'password' => 'Secr3tPaSSWoRdt7', // in the trystack dashboard go to user -> settings -> API Password to generate a password
+ 'container' => 'owncloud', // must already exist in the objectstore, name can be different
+ 'region' => 'RegionOne', //required, dev-/trystack defaults to 'RegionOne'
+ 'url' => 'http://8.21.28.222:5000/v2.0', // The Identity / Keystone endpoint
+ 'tenantName' => 'facebook100000123456789', // required on dev-/trystack
+ 'serviceName' => 'swift', //dev-/trystack uses swift by default, the lib defaults to 'cloudFiles' if omitted
+ ),
+),
+
);