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