fix(mongodb): Also apply custom config when SSL is enabled
This commit is contained in:
parent
4a1f8e925f
commit
de2bd160ff
1 changed files with 4 additions and 0 deletions
|
|
@ -217,6 +217,10 @@ public function handle(StandaloneMongodb $database)
|
|||
if ($this->database->enable_ssl) {
|
||||
$commandParts = ['mongod'];
|
||||
|
||||
if (! empty($this->database->mongo_conf)) {
|
||||
$commandParts = ['mongod', '--config', '/etc/mongo/mongod.conf'];
|
||||
}
|
||||
|
||||
$sslConfig = match ($this->database->ssl_mode) {
|
||||
'allow' => [
|
||||
'--tlsMode=allowTLS',
|
||||
|
|
|
|||
Loading…
Reference in a new issue