0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 10:55:09 +01:00
nextcloud-docker/.config/redis.config.php
marceljd 7702887e7d redis.config.php added
Signed-off-by: marceljd <support@dihosting.ch>
2019-01-10 13:47:50 +00:00

11 lines
223 B
PHP

<?php
if (getenv('REDIS_HOST')) {
$CONFIG = array (
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
'port' => getenv('REDIS_PORT') ?: 6379,
),
);
}