Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.
TypeScript
fix(admin): container healthcheck
Jake Turnerdf55b48e1c21
diff --git a/admin/start/routes.ts b/admin/start/routes.tsindex d92af9e6..4dcbf45a 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.yamlindex 5ffc7620..5cde652d 100644--- a/install/management_compose.yaml+++ b/install/management_compose.yaml@@ -34,7 +34,7 @@ services:condition: service_healthyentrypoint: ["/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: 30stimeout: 10sretries: 3