Suggested checks for the apps in your containers
With Dockhand connected, an image the app recognises (about 20 with a health endpoint of their own, plus a few dozen web UIs) is offered as an endpoint check on that app's own health address, with what a good answer looks like set up as a value check: Immich's ping says pong, Nextcloud's status.php is not in maintenance, Gitea's health says pass, and so on. Asked on the Docker host's address at the port the container publishes. Container ports are now read from Dockhand's list. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0fa50c2d5a
commit
12f2662465
10 files changed
+502
-5
No files matched your search
@@ -152,7 +152,7 @@ endpointsRouter.post("/suggestions/add", requireRole("admin"), asyncHandler(asyn
|
||||
if (have >= MAX_CHECKS) return res.status(409).json({ error: "too_many", message: `At most ${MAX_CHECKS} checks.`, added });
|
||||
const [row] = await db
|
||||
.insert(endpointChecks)
|
||||
.values(valuesOf({ name: s.name, kind: s.kind, target: s.target, port: s.port, serverId: s.serverId }))
|
||||
.values(valuesOf({ name: s.name, kind: s.kind, target: s.target, port: s.port, serverId: s.serverId, expectStatus: s.expectStatus ?? null, keyword: s.keyword ?? null, valuePath: s.valuePath ?? null, valueOp: s.valueOp ?? null, valueExpected: s.valueExpected ?? null, insecure: s.insecure }))
|
||||
.returning();
|
||||
have++;
|
||||
added.push({ id: row.id, name: row.name });
|
||||
|
||||
Reference in new issue
Block a user