Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
1410cb10
Commit
1410cb10
authored
10 years ago
by
Jörn Friedrich Dreyer
Browse files
Options
Downloads
Patches
Plain Diff
add 'objectstore' configuration example
parent
4e65889f
No related branches found
Branches containing commit
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/config.sample.php
+23
-0
23 additions, 0 deletions
config/config.sample.php
with
23 additions
and
0 deletions
config/config.sample.php
+
23
−
0
View file @
1410cb10
...
@@ -304,4 +304,27 @@ $CONFIG = array(
...
@@ -304,4 +304,27 @@ $CONFIG = array(
/* If true, prevent owncloud from changing the cache due to changes in the filesystem for all storage */
/* If true, prevent owncloud from changing the cache due to changes in the filesystem for all storage */
'filesystem_cache_readonly'
=>
false
,
'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
),
),
);
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment