diff options
author | tilosp-bot <git-bot@tilosp.de> | 2019-06-29 13:04:55 +0000 |
---|---|---|
committer | tilosp-bot <git-bot@tilosp.de> | 2019-06-29 13:04:55 +0000 |
commit | b7b542ea47e5ab8c07b24bdc2d98032805a10c90 (patch) | |
tree | ce15a01d7075847df32b7a403fe496fc5e491dd0 /16.0-rc/apache/config/redis.config.php | |
parent | 8231878052899baae3202353be39df9bf056a399 (diff) |
Run update.sh16.0.2RC1-fpm16.0.2RC1-apache16.0.2RC116.0.2-rc-fpm16.0.2-rc-apache16.0.2-rc15.0.9RC1-fpm15.0.9RC1-apache15.0.9RC115.0.9-rc-fpm15.0.9-rc-apache15.0.9-rc14.0.13RC1-fpm14.0.13RC1-apache14.0.13RC114.0.13-rc-fpm14.0.13-rc-apache14.0.13-rc
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
Diffstat (limited to '16.0-rc/apache/config/redis.config.php')
-rw-r--r-- | 16.0-rc/apache/config/redis.config.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/16.0-rc/apache/config/redis.config.php b/16.0-rc/apache/config/redis.config.php new file mode 100644 index 00000000..5df799f2 --- /dev/null +++ b/16.0-rc/apache/config/redis.config.php @@ -0,0 +1,12 @@ +<?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, + ), + ); +} + |