0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-21 22:05:07 +01:00
nextcloud-docker/16.0-beta/fpm/config/redis.config.php
pierre b9f338ab05 Correct rsync version.php
Signed-off-by: pierre <pierre.m@nikolov.fr>
2019-03-22 12:36:10 +01:00

12 lines
280 B
PHP

<?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,
),
);
}