feat(ui): add health check endpoint (#11145)

This commit is contained in:
Alejandro Bailo
2026-05-14 13:47:48 +02:00
committed by GitHub
parent bf4fd8fabd
commit dcf91ef252
4 changed files with 91 additions and 1 deletions
+7 -1
View File
@@ -48,10 +48,16 @@ services:
- path: .env
required: false
ports:
- ${UI_PORT:-3000}:${UI_PORT:-3000}
- ${UI_PORT:-3000}:3000
depends_on:
mcp-server:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "wget -q -O /dev/null http://127.0.0.1:3000/api/health || exit 1"]
interval: 10s
timeout: 5s
retries: 3
start_period: 60s
postgres:
image: postgres:16.3-alpine3.20