diff --git a/config/database.php b/config/database.php index 5987be69..ab8fed33 100644 --- a/config/database.php +++ b/config/database.php @@ -116,9 +116,9 @@ 'cluster' => false, 'default' => [ - 'host' => '127.0.0.1', - 'port' => 6379, - 'database' => 0, + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'port' => env('REDIS_PORT', 6379), + 'database' => env('REDIS_DB', 0), ], ],