mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-22 23:28:05 +02:00
Add REDIS_HOST_USER variable to specify a redis user
Signed-off-by: hagene <hagene@uio.no>
This commit is contained in:
parent
85eb58a828
commit
4bcd068a62
2 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,7 @@ if (getenv('REDIS_HOST')) {
|
|||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
if (getenv('REDIS_HOST_USER')) { 'user' => getenv('REDIS_HOST_USER'), }
|
||||
'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'),
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue