Diese Konfiguration bietet im Zusammenspiel mit der nginx-Konfiguration eine recht gute Performance.

Folgendes wird vorausgesetzt (XXX ist durch eigene Werte zu ersetzen):

  • Redis-Installation
  • headless-Installation von libre-office
  • Mailaccount über den Notifications und andere Mails verschickt werden
<?php
$CONFIG = array (
  'instanceid' => 'XXX',
  'passwordsalt' => 'XXX',
  'hashingCost' => 15,
  'datadirectory' => '/srv/XXX',
  'overwrite.cli.url' => 'https://cloud.ovtec.it',
  'dbtype' => 'mysql',
  'version' => '8.2.2.2',
  'dbname' => 'owncloud',
  'dbhost' => 'XXX',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'owncloud',
  'dbpassword' => 'XXX',
  'installed' => true,
  'forcessl' => true,
  'maxZipInputSize' => 838860800,
  'allowZipDownload' => true,
  'theme' => '',
  'maintenance' => false,
  'default_language' => 'de',
  'appcodechecker' => false,
  'logtimezone' => 'Europe/Berlin',
  'log_type' => 'owncloud',
  'log_level' => '2',
  'log_rotate_size' => '104857600',
  'log_authfailip' => true,
  'log_query' => false,
  'trusted_domains' => 
  array (
    0 => 'cloud.ovtec.it',
  ),
  'mail_smtpmode' => 'smtp',
  'mail_from_address' => 'noreply',
  'mail_domain' => 'XXX',
  'enable_previews' => true,
  'preview_libreoffice_path' => '/usr/bin/libreoffice',
  'mail_smtpname' => 'relay@XXX',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => true,
  'mail_smtppassword' => 'XXX',
  'mail_smtphost' => 'XXX',
  'mail_smtpauthtype' => 'LOGIN',
  'secret' => 'XXX',
  'remember_login_cookie_lifetime' => 1296000,
  'session_lifetime' => 172800,
  'session_keepalive' => true,
  'asset-pipeline.enabled' => true,
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'XXX',
    'port' => 6379,
    'timeout' => 0,
    'dbindex' => 0,
  ),
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'loglevel' => 2,
  'trashbin_retention_obligation' => 'auto',
);