mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
chore: add redis connection settings to env file
This commit is contained in:
parent
65a63c743f
commit
f06563cfed
2 changed files with 8 additions and 3 deletions
|
|
@ -16,6 +16,11 @@ DB_USER=root
|
||||||
DB_PASSWORD=
|
DB_PASSWORD=
|
||||||
DB_DATABASE=leaguestats
|
DB_DATABASE=leaguestats
|
||||||
|
|
||||||
|
REDIS_CONNECTION=local
|
||||||
|
REDIS_HOST=127.0.0.1
|
||||||
|
REDIS_PORT=6379
|
||||||
|
REDIS_PASSWORD=
|
||||||
|
|
||||||
HASH_DRIVER=bcrypt
|
HASH_DRIVER=bcrypt
|
||||||
|
|
||||||
API_KEY=RGAPI-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
API_KEY=RGAPI-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,9 @@ module.exports = {
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
local: {
|
local: {
|
||||||
host: '127.0.0.1',
|
host: Env.get('REDIS_HOST', '127.0.0.1'),
|
||||||
port: 6379,
|
port: Env.get('REDIS_PORT', 6379),
|
||||||
password: null,
|
password: Env.get('REDIS_PASSWORD', null),
|
||||||
db: 0,
|
db: 0,
|
||||||
keyPrefix: ''
|
keyPrefix: ''
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue