Added mongo configuration
This commit is contained in:
@@ -101,6 +101,20 @@ return [
|
||||
#'sslrootcert' => env('DB_SSLROOTCERT', 'ca.crt'),
|
||||
],
|
||||
|
||||
'mongodb' => [
|
||||
'driver' => 'mongodb',
|
||||
'host' => env('DB_MONGO_HOST', '127.0.0.1'),
|
||||
'port' => env('DB_MONGO_PORT', 27017),
|
||||
'database' => env('DB_MONGO_DATABASE', 'fido'),
|
||||
'username' => env('DB_MONGO_USERNAME', 'mongo'),
|
||||
'password' => env('DB_MONGO_PASSWORD', 'password'),
|
||||
'options' => [
|
||||
// here you can pass more settings to the Mongo Driver Manager
|
||||
// see https://www.php.net/manual/en/mongodb-driver-manager.construct.php under "Uri Options" for a list of complete parameters that you can use
|
||||
|
||||
'database' => env('DB_AUTHENTICATION_DATABASE', 'admin'), // required with Mongo 3+
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user