Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
media-resource
Overview
Overview
Details
Activity
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
杨昕
media-resource
Commits
274617be
Commit
274617be
authored
Jul 27, 2020
by
杨昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兼容环境变量
parent
5f075b7e
Pipeline
#10087
passed with stages
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
database.php
config/database.php
+4
-4
No files found.
config/database.php
View file @
274617be
...
@@ -85,11 +85,11 @@ return [
...
@@ -85,11 +85,11 @@ return [
'mongodb'
=>
[
'mongodb'
=>
[
'driver'
=>
'mongodb'
,
'driver'
=>
'mongodb'
,
'host'
=>
'mongo.eoffcn.com'
,
'host'
=>
env
(
'mg_host'
)
??
'mongo.eoffcn.com'
,
'port'
=>
'28017'
,
'port'
=>
env
(
'mg_port'
)
??
'28017'
,
'database'
=>
'video_media'
,
'database'
=>
'video_media'
,
'username'
=>
'root'
,
'username'
=>
env
(
'mg_username'
)
??
'root'
,
'password'
=>
'FHHTH98AWAPoyweEasdfadfaaf'
,
'password'
=>
env
(
"mg_password"
)
??
'FHHTH98AWAPoyweEasdfadfaaf'
,
'options'
=>
[
'options'
=>
[
'database'
=>
'admin'
,
// sets the authentication database required by mongo 3
'database'
=>
'admin'
,
// sets the authentication database required by mongo 3
]
]
...
...
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