diff options
author | tilosp-bot <git-bot@tilosp.de> | 2019-09-26 10:06:22 +0000 |
---|---|---|
committer | tilosp-bot <git-bot@tilosp.de> | 2019-09-26 10:06:22 +0000 |
commit | 1760450ac818763c4e85a6ed28355477c14d46e2 (patch) | |
tree | 937246364ef5d1970d75d651701f29ad7900d150 /17.0/fpm/config/redis.config.php | |
parent | 10a1fe7606cc7dd92cb10a1cd81a012604ebaaf5 (diff) |
Run update.sh17.0.0-fpm-alpine17.0.0-fpm17.0.0-apache17.0.016.0.5-fpm-alpine16.0.5-fpm16.0.5-apache16.0.515.0.12-fpm-alpine15.0.12-fpm15.0.12-apache15.0.12
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
Diffstat (limited to '17.0/fpm/config/redis.config.php')
-rw-r--r-- | 17.0/fpm/config/redis.config.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/17.0/fpm/config/redis.config.php b/17.0/fpm/config/redis.config.php new file mode 100644 index 00000000..19676160 --- /dev/null +++ b/17.0/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'), + ), + ); +} + |