diff options
author | Tilo Spannagel <development@tilosp.de> | 2019-12-13 18:45:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-13 18:45:13 +0100 |
commit | 1c23b49eae453db466aaca83b127d39ff513eef2 (patch) | |
tree | ca71cefefeb1be65562acc90a2c60ae3b2dc3751 /15.0-rc/fpm/config/redis.config.php | |
parent | 88e6e3b9b238da265023cc71ac544bdd46e5ade8 (diff) | |
parent | 0ebad103636855c27265f34ebc4fab84e409fdb6 (diff) |
Merge pull request #943 from tilosp/bot/update
Add nextcloud 15.0.14RC1, 16.0.7RC1 and 17.0.2RC1
Diffstat (limited to '15.0-rc/fpm/config/redis.config.php')
-rw-r--r-- | 15.0-rc/fpm/config/redis.config.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/15.0-rc/fpm/config/redis.config.php b/15.0-rc/fpm/config/redis.config.php new file mode 100644 index 00000000..19676160 --- /dev/null +++ b/15.0-rc/fpm/config/redis.config.php @@ -0,0 +1,13 @@ +<?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, + 'password' => getenv('REDIS_HOST_PASSWORD'), + ), + ); +} + |