summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authormarceljd <support@dihosting.ch>2019-01-27 07:28:38 +0000
committermarceljd <support@dihosting.ch>2019-01-27 13:46:25 +0000
commitb3b6def923dfd2288f2b42aba382bbf78e5ca607 (patch)
tree983a9d5afceaf476e5a02240f3129be85047ac53 /.config
parent2e481a86eed7dcac7f5076a9ee90f4f63764677f (diff)
On branch redis-env-vars
added REDIS_HOST_PORT Changes to be committed: modified: .config/redis.config.php modified: README.md Signed-off-by: marceljd <support@dihosting.ch>
Diffstat (limited to '.config')
-rw-r--r--.config/redis.config.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/redis.config.php b/.config/redis.config.php
index 8f4b7ec7..5df799f2 100644
--- a/.config/redis.config.php
+++ b/.config/redis.config.php
@@ -5,6 +5,7 @@ if (getenv('REDIS_HOST')) {
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
+ 'port' => getenv('REDIS_HOST_PORT') ?: 6379,
),
);
}