From 86d1dfcf51cc7a3fca1a513571b9633e4629fbce Mon Sep 17 00:00:00 2001 From: Roman Kinyakin <1@grep.su> Date: Mon, 26 Oct 2015 22:13:51 +0600 Subject: [PATCH] Redis connection setup in .env --- config/database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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), ], ],