Add nextcloud config
This commit is contained in:
parent
5a3c25167c
commit
45fd2e048e
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env fish
|
||||
read -P "Install main config [yN] ? " inst
|
||||
test $inst = "y"; and sudo install -o nextcloud -g nextcloud -m a=r,u=rw -b -D app.ini /etc/forgejo/app.ini
|
|
@ -0,0 +1,2 @@
|
|||
# Nextcloud
|
||||
Install to `/etc/webapps/nextcloud/config/`.
|
|
@ -0,0 +1,62 @@
|
|||
<?php
|
||||
$CONFIG = array (
|
||||
'datadirectory' => '/var/lib/nextcloud/data/',
|
||||
'logfile' => '/var/log/nextcloud/nextcloud.log',
|
||||
'apps_paths' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'path' => '/usr/share/webapps/nextcloud/apps',
|
||||
'url' => '/apps',
|
||||
'writable' => false,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'path' => '/var/lib/nextcloud/apps',
|
||||
'url' => '/wapps',
|
||||
'writable' => true,
|
||||
),
|
||||
),
|
||||
'trusted_domains' =>
|
||||
array (
|
||||
0 => 'localhost',
|
||||
1 => 'cloud.edgarpierre.fr',
|
||||
),
|
||||
'overwrite.cli.url' => 'https://cloud.edgarpierre.fr/',
|
||||
'htaccess.RewriteBase' => '/',
|
||||
'dbtype' => 'pgsql',
|
||||
'version' => '26.0.1.1',
|
||||
'dbname' => 'nextcloud',
|
||||
'dbhost' => '/run/postgresql',
|
||||
'dbport' => '',
|
||||
'dbtableprefix' => 'oc_',
|
||||
'dbuser' => 'nextcloud',
|
||||
'installed' => true,
|
||||
'instanceid' => 'occvgqndcmzd',
|
||||
'mail_from_address' => 'nextcloud',
|
||||
'mail_smtpmode' => 'smtp',
|
||||
'mail_sendmailmode' => 'smtp',
|
||||
'mail_domain' => 'edgarpierre.fr',
|
||||
'mail_smtphost' => 'edgarpierre.fr',
|
||||
'mail_smtpport' => '465',
|
||||
'mail_smtpsecure' => 'ssl',
|
||||
'mail_smtpauth' => 1,
|
||||
'mail_smtpname' => 'nextcloud',
|
||||
'mail_smtppassword' => $$$,
|
||||
'twofactor_enforced' => 'true',
|
||||
'twofactor_enforced_groups' =>
|
||||
array (
|
||||
),
|
||||
'twofactor_enforced_excluded_groups' =>
|
||||
array (
|
||||
),
|
||||
'default_language' => 'fr',
|
||||
'default_locale' => 'fr_FR',
|
||||
'default_phone_region' => 'FR',
|
||||
'memcache.local' => '\\OC\\Memcache\\APCu',
|
||||
'maintenance' => false,
|
||||
'app_install_overwrite' =>
|
||||
array (
|
||||
0 => 'richdocuments',
|
||||
),
|
||||
);
|
Loading…
Reference in New Issue