configurations/nextcloud/var/www/html/nextcloud/config/config.s3.php

84 lines
2.0 KiB
PHP

<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'your_domain',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'mysql',
'version' => '23.0.3.2',
'overwrite.cli.url' => 'http://your_domain/',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'host:port',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'user',
'dbpassword' => 'pass',
'installed' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'log_type' => 'syslog',
'logfile' => '',
'loglevel' => '3',
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
),
'objectstore' =>
array (
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' =>
array (
'bucket' => 'name',
'autocreate' => true,
'key' => '',
'secret' => '',
'hostname' => '',
'region' => '',
'port' => 443,
'use_ssl' => true,
'use_path_style' => true,
),
),
'mail_smtpmode' => 'smtp',
'mail_smtphost' => '',
'mail_smtpport' => '587',
'mail_smtptimeout' => 10,
'mail_from_address' => 'no-reply',
'mail_sendmailmode' => 'pipe',
'mail_domain' => 'your_domain',
'mail_smtpsecure' => 'tls',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'maintenance' => false,
'default_phone_region' => 'IT',
'enable_previews' => true,
'preview_max_x' => 4096,
'preview_max_y' => 4096,
'preview_max_memory' => 768,
'preview_max_filesize_image' => 50,
'enabledPreviewProviders' => [
'OC\Preview\PNG',
'OC\Preview\JPEG',
'OC\Preview\GIF',
'OC\Preview\HEIC',
'OC\Preview\BMP',
'OC\Preview\XBitmap',
'OC\Preview\MP3',
'OC\Preview\TXT',
'OC\Preview\MarkDown',
'OC\Preview\OpenDocument',
'OC\Preview\Krita',
'OC\Preview\PDF',
],
);