0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 08:14:46 +02:00

Config redis and smtp using env vars.

This commit is contained in:
Rodrigo Aguilera 2018-03-23 21:44:03 +01:00
parent bb42fcfaed
commit e2c8feefde
20 changed files with 250 additions and 0 deletions

View file

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