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

fix: empty redis password must be string

This commit is contained in:
Stefan Probst 2020-08-31 13:47:15 +02:00
parent 7d01c9607a
commit 39d70acd43

View file

@ -1,11 +1,11 @@
<?php <?php
if (getenv('REDIS_HOST')) { if (getenv('REDIS_HOST')) {
$CONFIG = array ( $CONFIG = array(
'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array( 'redis' => array(
'host' => getenv('REDIS_HOST'), 'host' => getenv('REDIS_HOST'),
'password' => getenv('REDIS_HOST_PASSWORD'), 'password' => (string) getenv('REDIS_HOST_PASSWORD'),
), ),
); );