From df55b48e1c219c27d0d8873f167b4d6fc1d735ed Mon Sep 17 00:00:00 2001 From: Jake Turner Date: Sun, 11 Jan 2026 13:52:28 -0800 Subject: [PATCH] fix(admin): container healthcheck --- admin/start/routes.ts | 4 ++++ install/management_compose.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/start/routes.ts b/admin/start/routes.ts index d92af9e..4dcbf45 100644 --- a/admin/start/routes.ts +++ b/admin/start/routes.ts @@ -75,6 +75,10 @@ router }) .prefix('/api/downloads') +router.get('/api/health', () => { + return { status: 'ok' } +}) + router .group(() => { router.get('/info', [SystemController, 'getSystemInfo']) diff --git a/install/management_compose.yaml b/install/management_compose.yaml index 5ffc762..5cde652 100644 --- a/install/management_compose.yaml +++ b/install/management_compose.yaml @@ -34,7 +34,7 @@ services: condition: service_healthy entrypoint: ["/usr/local/bin/entrypoint.sh"] healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/health"] + test: ["CMD", "curl", "-f", "http://localhost:8080/api/health"] interval: 30s timeout: 10s retries: 3