summaryrefslogtreecommitdiffstats
path: root/16.0/fpm-alpine/config/redis.config.php
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2020-06-09 15:28:58 +0200
committerJ0WI <J0WI@users.noreply.github.com>2020-06-09 15:28:58 +0200
commit2ad4252386a098c075da88be983bd090e3baddd9 (patch)
treedadd8673bdbe9f5a9cf6a3be08d4f66cc8f8a95c /16.0/fpm-alpine/config/redis.config.php
parent3ac6fde8d6ed3c13cea1e39d5957ef6be9b6b210 (diff)
Remove EOL 16.0
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to '16.0/fpm-alpine/config/redis.config.php')
-rw-r--r--16.0/fpm-alpine/config/redis.config.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/16.0/fpm-alpine/config/redis.config.php b/16.0/fpm-alpine/config/redis.config.php
deleted file mode 100644
index 9429c901..00000000
--- a/16.0/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;
- }
-}