Skip to content

Commit

Permalink
Merge pull request #96 from RonasIT/dpankratov/update-swagger
Browse files Browse the repository at this point in the history
feat: add ability to change redis connection schema using env variable
  • Loading branch information
astorozhevsky authored Oct 16, 2024
2 parents aade678 + a3c8e78 commit 41dbb05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@
],

'default' => [
'scheme' => env('REDIS_SCHEME', 'tcp'),
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
Expand All @@ -157,6 +158,7 @@
],

'cache' => [
'scheme' => env('REDIS_SCHEME', 'tcp'),
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'username' => env('REDIS_USERNAME'),
Expand Down

0 comments on commit 41dbb05

Please sign in to comment.