Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
a33c66cf
Commit
a33c66cf
authored
Dec 01, 2015
by
Cory Fowler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed redis support to load config from env
parent
e78d1af0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
.env.example
.env.example
+4
-0
database.php
config/database.php
+3
-2
No files found.
.env.example
View file @
a33c66cf
...
@@ -17,3 +17,7 @@ MAIL_PORT=2525
...
@@ -17,3 +17,7 @@ MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_ENCRYPTION=null
REDIS_HOST=localhost
REDiS_KEY=
REDIS_PORT=6379
config/database.php
View file @
a33c66cf
...
@@ -116,8 +116,9 @@ return [
...
@@ -116,8 +116,9 @@ return [
'cluster'
=>
false
,
'cluster'
=>
false
,
'default'
=>
[
'default'
=>
[
'host'
=>
'127.0.0.1'
,
'host'
=>
env
(
'REDIS_HOST'
,
'localhost'
),
'port'
=>
6379
,
'password'
=>
env
(
'REDIS_KEY'
,
''
),
'port'
=>
env
(
'REDIS_PORT'
,
6379
),
'database'
=>
0
,
'database'
=>
0
,
],
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment