infra/roles/owncloud/templates/config.php.j2

85 lines
2.4 KiB
Django/Jinja

<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/owncloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/owncloud/custom',
'url' => '/custom',
'writable' => true,
),
),
'trusted_domains' =>
array (
0 => 'owncloud.internal.simponic.xyz',
1 => 'localhost',
2 => '127.0.0.1',
),
'datadirectory' => '/mnt/data/files',
'dbtype' => 'mysql',
'dbhost' => 'mariadb:3306',
'dbname' => 'owncloud',
'dbuser' => 'owncloud',
'dbpassword' => 'owncloud',
'dbtableprefix' => 'oc_',
'log_type' => 'owncloud',
'supportedDatabases' =>
array (
0 => 'sqlite',
1 => 'mysql',
2 => 'pgsql',
),
'upgrade.disable-web' => true,
'default_language' => 'en',
'overwrite.cli.url' => 'https://owncloud.internal.simponic.xyz/',
'htaccess.RewriteBase' => '/',
'logfile' => '/mnt/data/files/owncloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'mysql.utf8mb4' => true,
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'redis',
'port' => '6379',
),
'passwordsalt' => '{{ owncloud_pwd_salt }}',
'secret' => '{{ owncloud_secret }}',
'version' => '10.14.0.3',
'dbconnectionstring' => '',
'allow_user_to_change_mail_address' => '',
'logtimezone' => 'UTC',
'installed' => true,
'instanceid' => 'oco7aemx06vf',
'mail_domain' => 'simponic.xyz',
'mail_from_address' => 'info',
'mail_smtpmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpsecure' => 'tls',
'mail_smtphost' => 'mail.simponic.xyz',
'mail_smtpport' => '587',
'mail_smtpname' => 'info',
'mail_smtppassword' => '{{ owncloud_mail_password }}',
'ldapIgnoreNamingRules' => false,
'allow_user_to_change_display_name' => false,
'lost_password_link' => 'disabled',
'openid-connect' => [
'auto-provision' => ['enabled' => true],
'autoRedirectOnLoginPage' => false,
'client-id' => 'owncloud',
'client-secret' => '{{ owncloud_oidc_secret }}',
'loginButtonName' => 'Simponic Authelia',
'provider-url' => 'https://authelia.simponic.xyz',
'redirect-url' => 'https://owncloud.internal.simponic.xyz/apps/openidconnect/redirect'
],
'http.cookie.samesite' => 'None',
'session_lifetime' => 60 * 60 * 24
);