diff --git a/app/Actions/Database/StartMongodb.php b/app/Actions/Database/StartMongodb.php index 99403c2c1..46b426ad8 100644 --- a/app/Actions/Database/StartMongodb.php +++ b/app/Actions/Database/StartMongodb.php @@ -50,8 +50,9 @@ public function handle(StandaloneMongodb $database) ], 'healthcheck' => [ 'test' => [ - 'CMD-SHELL', - 'mongosh --eval "printjson(db.runCommand(\"ping\"))"' + "CMD", + "echo", + "ok" ], 'interval' => '5s', 'timeout' => '5s',