diff --git a/.config/redis.config.php b/.config/redis.config.php index 2069812f..c8fcbe72 100644 --- a/.config/redis.config.php +++ b/.config/redis.config.php @@ -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) {