summaryrefslogtreecommitdiffstats
path: root/.config/redis.config.php
blob: 5df799f2752ea19020f3171fd05941bbc747a3c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
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,
    ),
  );
}