X Tutup
Skip to content

Commit 17b7e06

Browse files
authored
doc update for owncloud/core#40389
1 parent 4e2841f commit 17b7e06

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

modules/admin_manual/pages/configuration/files/external_storage/s3_compatible_object_storage_as_primary.adoc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,18 @@ $CONFIG = [
8282
'objectstore' => [
8383
'class' => 'OCA\Files_Primary_S3\S3Storage',
8484
'arguments' => [
85+
//
8586
// replace with your bucket
8687
'bucket' => 'owncloud',
88+
//
89+
// uncomment to indicate available storage size in the objectstore, in bytes (in this example 1TB),
90+
// without this setting app relying on available storage might be limited in funcionality e.g. metrics app
91+
//'availableStorage' => 1099511627776,
92+
//
8793
// uncomment to enable server side encryption
8894
//'serversideencryption' => 'AES256',
95+
//
96+
// storage specific options
8997
'options' => [
9098
// version and region are required
9199
'version' => '2006-03-01',
@@ -114,10 +122,18 @@ $CONFIG = [
114122
'objectstore' => [
115123
'class' => 'OCA\Files_Primary_S3\S3Storage',
116124
'arguments' => [
125+
//
117126
// replace with your bucket
118127
'bucket' => 'owncloud',
128+
//
129+
// uncomment to indicate available storage size in the objectstore, in bytes (in this example 1TB),
130+
// without this setting app relying on available storage might be limited in funcionality e.g. metrics app
131+
//'availableStorage' => 1099511627776,
132+
//
119133
// uncomment to enable server side encryption
120134
//'serversideencryption' => 'AES256',
135+
//
136+
// storage specific options
121137
'options' => [
122138
// version and region are required
123139
'version' => '2006-03-01',
@@ -150,10 +166,18 @@ $CONFIG = [
150166
'objectstore' => [
151167
'class' => 'OCA\Files_Primary_S3\S3Storage',
152168
'arguments' => [
169+
//
153170
// replace with your bucket
154171
'bucket' => 'owncloud',
172+
//
173+
// uncomment to indicate available storage size in the objectstore, in bytes (in this example 1TB),
174+
// without this setting app relying on available storage might be limited in funcionality e.g. metrics app
175+
//'availableStorage' => 1099511627776,
176+
//
155177
// uncomment to enable server side encryption
156178
//'serversideencryption' => 'AES256',
179+
//
180+
// storage specific options
157181
'options' => [
158182
// version and region are required
159183
'version' => '2006-03-01',

0 commit comments

Comments
 (0)
X Tutup