mirror of
https://github.com/nextcloud/docker.git
synced 2025-05-01 23:00:54 +02:00
Merge fdfacbd774
into 614be28550
This commit is contained in:
commit
e50c98d655
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
Add a link
Reference in a new issue