mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
feat: Update healthcheck test in StartMongodb action
This commit is contained in:
1 parent
ca35e536db
commit
3281502c25
1 file changed
+3
-2
@@ -50,8 +50,9 @@ class StartMongodb
|
||||
],
|
||||
'healthcheck' => [
|
||||
'test' => [
|
||||
'CMD-SHELL',
|
||||
'mongosh --eval "printjson(db.runCommand(\"ping\"))"'
|
||||
"CMD",
|
||||
"echo",
|
||||
"ok"
|
||||
],
|
||||
'interval' => '5s',
|
||||
'timeout' => '5s',
|
||||
|
||||
Reference in new issue
Block a user