feature: add default config for nextcloud 21 with S3 storage, smtp and rewrite URL

This commit is contained in:
Claudio Maradonna 2021-08-04 18:14:50 +02:00
parent f511afe33a
commit 6acef2a0c3
Signed by untrusted user: claudiomaradonna
GPG Key ID: B1EDCB4C3B05C387
1 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,64 @@
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'your_domain',
),
'datadirectory' => '/var/www/html/nextcloud/data',
'dbtype' => 'mysql',
'version' => '21.0.3.1',
'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',
);