summaryrefslogtreecommitdiffstats
path: root/15.0-rc/fpm/config
diff options
context:
space:
mode:
authortilosp-bot <git-bot@tilosp.de>2019-04-04 16:02:10 +0000
committertilosp-bot <git-bot@tilosp.de>2019-04-04 16:02:10 +0000
commitda4cd779e331ab91db38f2c5350efd58be5f6931 (patch)
tree7e5b3e460016768aa12ae34eff28a895f08d1fb0 /15.0-rc/fpm/config
parent0ae0a40b9f3850fdb6def4c3fb0a382ec3b24ad4 (diff)
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
Diffstat (limited to '15.0-rc/fpm/config')
-rw-r--r--15.0-rc/fpm/config/apcu.config.php4
-rw-r--r--15.0-rc/fpm/config/apps.config.php15
-rw-r--r--15.0-rc/fpm/config/autoconfig.php29
-rw-r--r--15.0-rc/fpm/config/redis.config.php12
4 files changed, 0 insertions, 60 deletions
diff --git a/15.0-rc/fpm/config/apcu.config.php b/15.0-rc/fpm/config/apcu.config.php
deleted file mode 100644
index 69fed876..00000000
--- a/15.0-rc/fpm/config/apcu.config.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$CONFIG = array (
- 'memcache.local' => '\OC\Memcache\APCu',
-);
diff --git a/15.0-rc/fpm/config/apps.config.php b/15.0-rc/fpm/config/apps.config.php
deleted file mode 100644
index a4bed833..00000000
--- a/15.0-rc/fpm/config/apps.config.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-$CONFIG = array (
- "apps_paths" => array (
- 0 => array (
- "path" => OC::$SERVERROOT."/apps",
- "url" => "/apps",
- "writable" => false,
- ),
- 1 => array (
- "path" => OC::$SERVERROOT."/custom_apps",
- "url" => "/custom_apps",
- "writable" => true,
- ),
- ),
-);
diff --git a/15.0-rc/fpm/config/autoconfig.php b/15.0-rc/fpm/config/autoconfig.php
deleted file mode 100644
index 85e02212..00000000
--- a/15.0-rc/fpm/config/autoconfig.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-$autoconfig_enabled = false;
-
-if (getenv('SQLITE_DATABASE')) {
- $AUTOCONFIG["dbtype"] = "sqlite";
- $AUTOCONFIG["dbname"] = getenv('SQLITE_DATABASE');
- $autoconfig_enabled = true;
-} elseif (getenv('MYSQL_DATABASE') && getenv('MYSQL_USER') && getenv('MYSQL_PASSWORD') && getenv('MYSQL_HOST')) {
- $AUTOCONFIG["dbtype"] = "mysql";
- $AUTOCONFIG["dbname"] = getenv('MYSQL_DATABASE');
- $AUTOCONFIG["dbuser"] = getenv('MYSQL_USER');
- $AUTOCONFIG["dbpass"] = getenv('MYSQL_PASSWORD');
- $AUTOCONFIG["dbhost"] = getenv('MYSQL_HOST');
- $autoconfig_enabled = true;
-} elseif (getenv('POSTGRES_DB') && getenv('POSTGRES_USER') && getenv('POSTGRES_PASSWORD') && getenv('POSTGRES_HOST')) {
- $AUTOCONFIG["dbtype"] = "pgsql";
- $AUTOCONFIG["dbname"] = getenv('POSTGRES_DB');
- $AUTOCONFIG["dbuser"] = getenv('POSTGRES_USER');
- $AUTOCONFIG["dbpass"] = getenv('POSTGRES_PASSWORD');
- $AUTOCONFIG["dbhost"] = getenv('POSTGRES_HOST');
- $autoconfig_enabled = true;
-}
-
-if ($autoconfig_enabled) {
- $AUTOCONFIG["dbtableprefix"] = getenv('NEXTCLOUD_TABLE_PREFIX') ?: "";
-
- $AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR') ?: "/var/www/html/data";
-}
diff --git a/15.0-rc/fpm/config/redis.config.php b/15.0-rc/fpm/config/redis.config.php
deleted file mode 100644
index 5df799f2..00000000
--- a/15.0-rc/fpm/config/redis.config.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-if (getenv('REDIS_HOST')) {
- $CONFIG = array (
- 'memcache.distributed' => '\OC\Memcache\Redis',
- 'memcache.locking' => '\OC\Memcache\Redis',
- 'redis' => array(
- 'host' => getenv('REDIS_HOST'),
- 'port' => getenv('REDIS_HOST_PORT') ?: 6379,
- ),
- );
-}
-