From e78d1af0fab6d9d79b24ace71b2d6cd159b715f2 Mon Sep 17 00:00:00 2001 From: Cory Fowler Date: Tue, 1 Dec 2015 14:15:02 -0800 Subject: [PATCH 1/2] added web.config --- public/web.config | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 public/web.config diff --git a/public/web.config b/public/web.config new file mode 100644 index 00000000..2da2a959 --- /dev/null +++ b/public/web.config @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + From a33c66cf4727ed22b460a31d1f67243f0fb2369c Mon Sep 17 00:00:00 2001 From: Cory Fowler Date: Tue, 1 Dec 2015 14:15:22 -0800 Subject: [PATCH 2/2] changed redis support to load config from env --- .env.example | 4 ++++ config/database.php | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 8eb8f575..7678d4cf 100644 --- a/.env.example +++ b/.env.example @@ -17,3 +17,7 @@ MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null + +REDIS_HOST=localhost +REDiS_KEY= +REDIS_PORT=6379 diff --git a/config/database.php b/config/database.php index 5987be69..cfef6bd4 100644 --- a/config/database.php +++ b/config/database.php @@ -116,8 +116,9 @@ 'cluster' => false, 'default' => [ - 'host' => '127.0.0.1', - 'port' => 6379, + 'host' => env('REDIS_HOST', 'localhost'), + 'password' => env('REDIS_KEY', ''), + 'port' => env('REDIS_PORT', 6379), 'database' => 0, ],