fix: mongodb healtcheck command
This commit is contained in:
parent
dc86170ef5
commit
5e8ac1b48e
@ -52,7 +52,7 @@ public function handle(StandaloneMongodb $database)
|
|||||||
'healthcheck' => [
|
'healthcheck' => [
|
||||||
'test' => [
|
'test' => [
|
||||||
'CMD-SHELL',
|
'CMD-SHELL',
|
||||||
'mongo --eval "printjson(db.serverStatus())" | grep uptime | grep -v grep'
|
'mongosh --eval "printjson(db.runCommand(\"ping\"))"'
|
||||||
],
|
],
|
||||||
'interval' => '5s',
|
'interval' => '5s',
|
||||||
'timeout' => '5s',
|
'timeout' => '5s',
|
||||||
|
Loading…
Reference in New Issue
Block a user