mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 02:14:36 +00:00
fix: mongodb healtcheck command
This commit is contained in:
1 parent
dc86170ef5
commit
5e8ac1b48e
1 file changed
+1
-1
@@ -52,7 +52,7 @@ class StartMongodb
|
||||
'healthcheck' => [
|
||||
'test' => [
|
||||
'CMD-SHELL',
|
||||
'mongo --eval "printjson(db.serverStatus())" | grep uptime | grep -v grep'
|
||||
'mongosh --eval "printjson(db.runCommand(\"ping\"))"'
|
||||
],
|
||||
'interval' => '5s',
|
||||
'timeout' => '5s',
|
||||
|
||||
Reference in new issue
Block a user