0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-21 14:48:05 +02:00
This commit is contained in:
Josh 2025-02-08 14:41:53 +00:00 committed by GitHub
commit 358a0887e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,6 +13,8 @@ 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;
} }
if (getenv('REDIS_HOST_USER') !== false) { if (getenv('REDIS_HOST_USER') !== false) {