fix(admin): container healthcheck

This commit is contained in:
Jake Turner 2026-01-11 13:52:28 -08:00 committed by Jake Turner
parent 80a1d0eef4
commit df55b48e1c
2 changed files with 5 additions and 1 deletions

View File

@ -75,6 +75,10 @@ router
})
.prefix('/api/downloads')
router.get('/api/health', () => {
return { status: 'ok' }
})
router
.group(() => {
router.get('/info', [SystemController, 'getSystemInfo'])

View File

@ -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