1
Fork 0

Add nextcloud config

This commit is contained in:
Edgar P. Burkhart 2023-05-16 16:57:57 +02:00
parent 5a3c25167c
commit 45fd2e048e
Signed by: edpibu
GPG Key ID: 9833D3C5A25BD227
3 changed files with 67 additions and 0 deletions

3
src/Nextcloud/.install.fish Executable file
View File

@ -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

2
src/Nextcloud/README.md Normal file
View File

@ -0,0 +1,2 @@
# Nextcloud
Install to `/etc/webapps/nextcloud/config/`.

62
src/Nextcloud/config.php Normal file
View File

@ -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',
),
);