Commit 4bf749d1 by duwenjun

mongo

parent 4f3796fa
Showing with 5 additions and 5 deletions
......@@ -122,11 +122,11 @@ return [
],
'mongodb' => [
'driver' => 'mongodb',
'host' => get_resource_config_section('rabbit', 'rabbit')['host'],
'database' => get_resource_config_section('rabbit', 'rabbit')['db'],
'username' => get_resource_config_section('rabbit', 'rabbit')['user'],
'password' => get_resource_config_section('rabbit', 'rabbit')['passwd'],
'port' => get_resource_config_section('rabbit', 'rabbit')['port'],
'host' => get_resource_config_section('mongodb', 'mongo')['host'],
'database' => get_resource_config_section('mongodb', 'mongo')['db'],
'username' => get_resource_config_section('mongodb', 'mongo')['user'],
'password' => get_resource_config_section('mongodb', 'mongo')['passwd'],
'port' => get_resource_config_section('mongodb', 'mongo')['port'],
// 'options' => [
// 'database' => 'ichunt' // 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 sign in to comment