diff --git a/.env.example b/.env.example index 8eb8f575..031862be 100644 --- a/.env.example +++ b/.env.example @@ -11,6 +11,10 @@ CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync +REDIS_HOST=localhost +REDIS_PASSWORD=null +REDIS_PORT=6379 + MAIL_DRIVER=smtp MAIL_HOST=mailtrap.io MAIL_PORT=2525 diff --git a/config/database.php b/config/database.php index ab8fed33..2b41a2c2 100644 --- a/config/database.php +++ b/config/database.php @@ -116,9 +116,10 @@ return [ 'cluster' => false, 'default' => [ - 'host' => env('REDIS_HOST', '127.0.0.1'), + 'host' => env('REDIS_HOST', 'localhost'), + 'password' => env('REDIS_PASSWORD', ''), 'port' => env('REDIS_PORT', 6379), - 'database' => env('REDIS_DB', 0), + 'database' => 0, ], ], 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 @@ + + + + + + + + + + + + + + + + + + + + + + +