Skip to content

Commit df55b48

Browse files
committed
fix(admin): container healthcheck
1 parent 80a1d0e commit df55b48

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

admin/start/routes.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ router
7575
})
7676
.prefix('/api/downloads')
7777

78+
router.get('/api/health', () => {
79+
return { status: 'ok' }
80+
})
81+
7882
router
7983
.group(() => {
8084
router.get('/info', [SystemController, 'getSystemInfo'])

install/management_compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ services:
3434
condition: service_healthy
3535
entrypoint: ["/usr/local/bin/entrypoint.sh"]
3636
healthcheck:
37-
test: ["CMD", "curl", "-f", "http://localhost:8080/api/v1/health"]
37+
test: ["CMD", "curl", "-f", "http://localhost:8080/api/health"]
3838
interval: 30s
3939
timeout: 10s
4040
retries: 3

0 commit comments

Comments
 (0)