summaryrefslogtreecommitdiffstats
path: root/16.0-rc/fpm-alpine/config/redis.config.php
diff options
context:
space:
mode:
Diffstat (limited to '16.0-rc/fpm-alpine/config/redis.config.php')
-rw-r--r--16.0-rc/fpm-alpine/config/redis.config.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/16.0-rc/fpm-alpine/config/redis.config.php b/16.0-rc/fpm-alpine/config/redis.config.php
deleted file mode 100644
index 9429c901..00000000
--- a/16.0-rc/fpm-alpine/config/redis.config.php
+++ /dev/null
@@ -1,17 +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'),
- 'password' => getenv('REDIS_HOST_PASSWORD'),
- ),
- );
-
- if (getenv('REDIS_HOST_PORT') !== false) {
- $CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
- } elseif (getenv('REDIS_HOST')[0] != '/') {
- $CONFIG['redis']['port'] = 6379;
- }
-}