forked from unitoo/configurations
feature: add default config for nextcloud 21 with S3 storage, smtp and rewrite URL
This commit is contained in:
parent
f511afe33a
commit
6acef2a0c3
1 changed files with 64 additions and 0 deletions
64
nextcloud/var/www/html/nextcloud/config/config.php.s3
Normal file
64
nextcloud/var/www/html/nextcloud/config/config.php.s3
Normal 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',
|
||||||
|
);
|
Loading…
Reference in a new issue