Skip to content

Commit

Permalink
fix database.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eucyt committed May 22, 2023
1 parent feb3375 commit bbd6a02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions laravel/config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'),
'parameters' => [
'scheme' => env('REDIS_SCHEME', 'tcp'),
'password' => env('REDIS_PASSWORD', null),
],
],

'default' => [
Expand All @@ -145,6 +149,7 @@
'password' => env('REDIS_PASSWORD'),
'port' => env('REDIS_PORT', '6379'),
'database' => env('REDIS_CACHE_DB', '1'),
'scheme' => env('REDIS_SCHEME', 'tcp'),
],

],
Expand Down

0 comments on commit bbd6a02

Please sign in to comment.