diff options
author | tilosp-bot <git-bot@tilosp.de> | 2019-10-31 14:00:40 +0000 |
---|---|---|
committer | tilosp-bot <git-bot@tilosp.de> | 2019-10-31 14:00:40 +0000 |
commit | ce0bb40cd97da98b6d0f89089b8b1d1a8d0bb17b (patch) | |
tree | b162f2aad089ba0952a226cddca398ddff4db37a /17.0-rc/fpm-alpine/config/redis.config.php | |
parent | 16e23e4081efe3d90ebae51752abeb648d0fe9f2 (diff) |
Run update.sh
Signed-off-by: tilosp-bot <git-bot@tilosp.de>
Diffstat (limited to '17.0-rc/fpm-alpine/config/redis.config.php')
-rw-r--r-- | 17.0-rc/fpm-alpine/config/redis.config.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/17.0-rc/fpm-alpine/config/redis.config.php b/17.0-rc/fpm-alpine/config/redis.config.php new file mode 100644 index 00000000..19676160 --- /dev/null +++ b/17.0-rc/fpm-alpine/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'), + ), + ); +} + |