mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-20 02:46:10 +02:00
Merge fdfacbd774
into 43311addf2
This commit is contained in:
commit
3ba5aee214
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@ if (getenv('REDIS_HOST')) {
|
|||
$CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
|
||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||
$CONFIG['redis']['port'] = 6379;
|
||||
} elseif (getenv('REDIS_HOST')[0] == '/') {
|
||||
$CONFIG['redis']['port'] = 0;
|
||||
}
|
||||
|
||||
if (getenv('REDIS_HOST_USER') !== false) {
|
||||
|
|
Loading…
Add table
Reference in a new issue