An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix(mongodb): Also apply custom config when SSL is enabled
Ashwin van Dijkde2bd160ff88
diff --git a/app/Actions/Database/StartMongodb.php b/app/Actions/Database/StartMongodb.phpindex a42f03eb57..870b5b7e5a 100644--- a/app/Actions/Database/StartMongodb.php+++ b/app/Actions/Database/StartMongodb.php@@ -217,6 +217,10 @@ class StartMongodbif ($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',