Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions packages/core/src/apps/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,8 @@
]
},
{
"available": false,
"available": true,
"verified": true,
"id": "uptime-kuma",
"name": "Uptime Kuma",
"description": "Self-hosted uptime monitoring with status pages and alerts.",
Expand All @@ -1283,7 +1284,7 @@
"services": [
{
"name": "uptime-kuma",
"image": "louislam/uptime-kuma:1",
"image": "louislam/uptime-kuma:2",
"ports": [
"3001:3001"
],
Expand All @@ -1294,7 +1295,21 @@
],
"restart": "unless-stopped"
}
]
],
"connection": {
"title": "Open Uptime Kuma",
"outputs": [
{
"id": "url",
"label": "URL",
"source": "publicUrl:uptime-kuma",
"kind": "url"
}
],
"firstLogin": {
"note": "First run asks you to pick a database. Choose \"embedded\": this template only provisions Uptime Kuma's own SQLite volume, not an external MariaDB. Then create the admin user. There is no default account."
}
}
},
{
"available": false,
Expand Down
7 changes: 7 additions & 0 deletions packages/core/src/apps/catalog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ describe("app catalog (JSON)", () => {
expect(isValidAppTemplate(null)).toBe(false);
expect(isValidAppTemplate({ id: "x", name: "X", description: "d", kind: "template", logo: "x", category: "bogus" })).toBe(false);
});

it("uptime-kuma is enabled on the current major image", () => {
const app = APP_TEMPLATES.find((a) => a.id === "uptime-kuma");
expect(app?.available).toBe(true);
expect(app?.services?.[0]?.image).toBe("louislam/uptime-kuma:2");
expect(app?.connection?.outputs.some((o) => o.source === "publicUrl:uptime-kuma")).toBe(true);
});
});

// A minimal valid template used to probe the stricter, version-aware gate.
Expand Down
21 changes: 18 additions & 3 deletions packages/core/src/apps/catalog/uptime-kuma.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"available": false,
"available": true,
"verified": true,
"id": "uptime-kuma",
"name": "Uptime Kuma",
"description": "Self-hosted uptime monitoring with status pages and alerts.",
Expand All @@ -15,7 +16,7 @@
"services": [
{
"name": "uptime-kuma",
"image": "louislam/uptime-kuma:1",
"image": "louislam/uptime-kuma:2",
"ports": [
"3001:3001"
],
Expand All @@ -26,5 +27,19 @@
],
"restart": "unless-stopped"
}
]
],
"connection": {
"title": "Open Uptime Kuma",
"outputs": [
{
"id": "url",
"label": "URL",
"source": "publicUrl:uptime-kuma",
"kind": "url"
}
],
"firstLogin": {
"note": "First run asks you to pick a database. Choose \"embedded\": this template only provisions Uptime Kuma's own SQLite volume, not an external MariaDB. Then create the admin user. There is no default account."
}
}
}