Skip to content

Instantly share code, notes, and snippets.

@kkwpsi
Created August 1, 2021 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkwpsi/261474ba33f52602747ed833295fcdc3 to your computer and use it in GitHub Desktop.
Save kkwpsi/261474ba33f52602747ed833295fcdc3 to your computer and use it in GitHub Desktop.
config.php (owncloud)
<?php
$CONFIG = array (
'instanceid' => '**',
'passwordsalt' => '**',
'secret' => '**',
'trusted_domains' =>
array (
0 => 'oc.domain.pl',
1 => 'oc-opt.domain.pl',
),
'datadirectory' => '/home/oc/public_html/ocdata/',
'overwrite.cli.url' => 'https://oc.domain.pl',
'dbtype' => 'mysql',
'version' => '10.8.0.4',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloud',
'dbpassword' => 'password',
'logtimezone' => 'UTC',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => '6379',
'timeout' => 0,
),
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'loglevel' => '2',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_from_address' => 'oc',
'mail_domain' => 'domain.pl',
'mail_smtphost' => 'domain.pl',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'oc',
'mail_smtppassword' => 'password',
'maintenance' => false,
'theme' => '',
'mail_smtpauthtype' => 'LOGIN',
'files_external_allow_create_new_local' => 'true',
'log_type' => 'owncloud',
'logfile' => '/home/oc/owncloud.log',
'logdateformat' => 'F d, Y H:i:s',
'user.search_min_length' => '3',
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment