Commit 274617be by 杨昕

兼容环境变量

parent 5f075b7e
Pipeline #10087 passed with stages
in 37 seconds
......@@ -85,11 +85,11 @@ return [
'mongodb' => [
'driver' => 'mongodb',
'host' => 'mongo.eoffcn.com',
'port' => '28017',
'host' => env('mg_host')??'mongo.eoffcn.com',
'port' => env('mg_port')??'28017',
'database' => 'video_media',
'username' => 'root',
'password' => 'FHHTH98AWAPoyweEasdfadfaaf',
'username' => env('mg_username')??'root',
'password' => env("mg_password")??'FHHTH98AWAPoyweEasdfadfaaf',
'options' => [
'database' => 'admin', // sets the authentication database required by mongo 3
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment