mcp-manager: quiet mongo (--quiet) + healthcheck 15s->300s with 5s startInterval
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
"name": "mcp-manager-db",
|
"name": "mcp-manager-db",
|
||||||
"image": "mongo:7",
|
"image": "mongo:7",
|
||||||
"isMain": false,
|
"isMain": false,
|
||||||
|
"command": ["--quiet"],
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{
|
||||||
"hostPath": "${APP_DATA_DIR}/data/db",
|
"hostPath": "${APP_DATA_DIR}/data/db",
|
||||||
@@ -49,10 +50,11 @@
|
|||||||
],
|
],
|
||||||
"healthCheck": {
|
"healthCheck": {
|
||||||
"test": "mongosh --quiet --eval 'db.runCommand({ ping: 1 }).ok' || exit 1",
|
"test": "mongosh --quiet --eval 'db.runCommand({ ping: 1 }).ok' || exit 1",
|
||||||
"interval": "15s",
|
"interval": "300s",
|
||||||
"timeout": "10s",
|
"timeout": "10s",
|
||||||
"retries": 5,
|
"retries": 5,
|
||||||
"startPeriod": "20s"
|
"startPeriod": "30s",
|
||||||
|
"startInterval": "5s"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user