mirror of
https://github.com/nextcloud/docker.git
synced 2025-07-22 07:08:06 +02:00
Merge fdfacbd774
into 2f4de23ea1
This commit is contained in:
commit
1a4080b8d5
1 changed files with 2 additions and 0 deletions
|
@ -13,5 +13,7 @@ if (getenv('REDIS_HOST')) {
|
||||||
$CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
|
$CONFIG['redis']['port'] = (int) getenv('REDIS_HOST_PORT');
|
||||||
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
} elseif (getenv('REDIS_HOST')[0] != '/') {
|
||||||
$CONFIG['redis']['port'] = 6379;
|
$CONFIG['redis']['port'] = 6379;
|
||||||
|
} elseif (getenv('REDIS_HOST')[0] == '/') {
|
||||||
|
$CONFIG['redis']['port'] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue