Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Commit

Permalink
Add REDIS_PASSWORD
Browse files Browse the repository at this point in the history
  • Loading branch information
TheReverend403 committed Jul 12, 2016
1 parent a114bc4 commit 33991fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ REDIS_SCHEME=tcp
## Ignored when REDIS_SCHEME is 'unix'
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=null
## Only used when REDIS_SCHEME is 'unix'
REDIS_PATH=/tmp/redis.sock
REDIS_DATABASE=0
3 changes: 2 additions & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@
'path' => env('REDIS_PATH', '/tmp/redis.sock'),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DATABASE', 0),
'scheme' => env('REDIS_SCHEME', 'tcp')
'scheme' => env('REDIS_SCHEME', 'tcp'),
'password' => env('REDIS_PASSWORD', null),
],

],
Expand Down

0 comments on commit 33991fb

Please sign in to comment.