update unit to 1.12, serve multiple ports
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Mauro Torrez
2019-10-11 19:17:27 -03:00
parent d38b4cfa49
commit c07fa0c283
14 changed files with 439 additions and 22 deletions

View File

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