fix: mongodb healtcheck command
This commit is contained in:
parent
dc86170ef5
commit
5e8ac1b48e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue