0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-17 16:44:46 +02:00

Run update.sh

Signed-off-by: pierreozoux <pierre@ozoux.net>
This commit is contained in:
pierreozoux 2020-02-10 15:16:16 +01:00
parent 6f241bc226
commit 28091effaa
125 changed files with 1781 additions and 2041 deletions

View file

@ -0,0 +1,20 @@
<?php
if (getenv('OBJECTSTORE_S3_HOST')) {
$CONFIG = array (
'objectstore' => array(
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' => array(
'bucket' => getenv('OBJECTSTORE_S3_BUCKET'),
'autocreate' => getenv('OBJECTSTORE_S3_AUTOCREATE') ?: true,
'key' => getenv('OBJECTSTORE_S3_KEY'),
'secret' => getenv('OBJECTSTORE_S3_SECRET'),
'hostname' => getenv('OBJECTSTORE_S3_HOST'),
'port' => getenv('OBJECTSTORE_S3_PORT'),
'use_ssl' => getenv('OBJECTSTORE_S3_SSL') ?: true,
'region' => getenv('OBJECTSTORE_S3_REGION') ?: "optional",
// required for some non Amazon S3 implementations
'use_path_style' => getenv('OBJECTSTORE_S3_USEPATH_STYLE') ?: true,
),
),
);
}