diff --git a/config/database.php b/config/database.php index 082117ea767f..a184796c2ba4 100644 --- a/config/database.php +++ b/config/database.php @@ -115,7 +115,7 @@ return [ 'cluster' => false, 'default' => [ - 'host' => '127.0.0.1', + 'host' => env('REDIS_HOST', '127.0.0.1'), 'port' => 6379, 'database' => 0, ],