summaryrefslogtreecommitdiff
path: root/user/nextcloud/nextcloud-config.php
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
committerMax Rees <maxcrees@me.com>2018-11-19 19:15:15 -0500
commit020a30d93a101127fdd2f494026fc80c632ae728 (patch)
tree70afe4522257b7b7ef78329f2919f7b364e18d65 /user/nextcloud/nextcloud-config.php
parent3a06f7cc492260836cd9910e2509aec9f0ba3d54 (diff)
downloadpackages-020a30d93a101127fdd2f494026fc80c632ae728.tar.gz
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.bz2
packages-020a30d93a101127fdd2f494026fc80c632ae728.tar.xz
packages-020a30d93a101127fdd2f494026fc80c632ae728.zip
user/nextcloud: new package
Diffstat (limited to 'user/nextcloud/nextcloud-config.php')
-rw-r--r--user/nextcloud/nextcloud-config.php45
1 files changed, 45 insertions, 0 deletions
diff --git a/user/nextcloud/nextcloud-config.php b/user/nextcloud/nextcloud-config.php
new file mode 100644
index 000000000..83b1400e6
--- /dev/null
+++ b/user/nextcloud/nextcloud-config.php
@@ -0,0 +1,45 @@
+<?php
+$CONFIG = array (
+ 'datadirectory' => '/var/lib/nextcloud/data',
+ 'logfile' => '/var/log/nextcloud/nextcloud.log',
+ 'apps_paths' => array (
+ // Read-only location for apps shipped with Nextcloud and installed by apk.
+ 0 => array (
+ 'path' => '/usr/share/webapps/nextcloud/apps',
+ 'url' => '/apps',
+ 'writable' => false,
+ ),
+ // Writable location for apps installed from AppStore.
+ 1 => array (
+ 'path' => '/var/lib/nextcloud/appstore',
+ 'url' => '/appstore',
+ 'writable' => true,
+ ),
+ ),
+ 'updatechecker' => false,
+
+ // Uncomment to enable pretty URLs:
+ //'overwrite.cli.url' => 'http://localhost/nextcloud/',
+ //'htaccess.RewriteBase' => '/nextcloud/',
+
+ // Addtionally, for nginx and lighttpd pretty URLs:
+ //'check_for_working_htaccess' => false,
+ // Additionally, for lighttpd pretty URLs:
+ //'htaccess.IgnoreFrontController' => true,
+
+ // Uncomment to enable Zend APCu memcache:
+ //'memcache.local' => '\OC\Memcache\APCu',
+
+ // Uncomment this and add user nextcloud to the redis group to enable Redis
+ // cache for file locking. This is highly recommended, see
+ // https://github.com/nextcloud/server/issues/9305.
+ //'memcache.locking' => '\OC\Memcache\Redis',
+ //'redis' => array(
+ // 'host' => '/run/redis/redis.sock',
+ // 'port' => 0,
+ // 'dbindex' => 0,
+ // 'timeout' => 1.5,
+ //),
+
+ 'installed' => false,
+);