We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78d1af commit a33c66cCopy full SHA for a33c66c
.env.example
@@ -17,3 +17,7 @@ MAIL_PORT=2525
17
MAIL_USERNAME=null
18
MAIL_PASSWORD=null
19
MAIL_ENCRYPTION=null
20
+
21
+REDIS_HOST=localhost
22
+REDiS_KEY=
23
+REDIS_PORT=6379
config/database.php
@@ -116,8 +116,9 @@
116
'cluster' => false,
117
118
'default' => [
119
- 'host' => '127.0.0.1',
120
- 'port' => 6379,
+ 'host' => env('REDIS_HOST', 'localhost'),
+ 'password' => env('REDIS_KEY', ''),
121
+ 'port' => env('REDIS_PORT', 6379),
122
'database' => 0,
123
],
124
0 commit comments