check backend

This commit is contained in:
2026-01-03 00:15:02 +05:30
parent 22ab1cbeb7
commit ceb9bd3f8b
2 changed files with 9 additions and 2 deletions

View File

@@ -18,6 +18,12 @@ services:
- IGNORE_RUDE
- API_PORT=8080
restart: unless-stopped
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8080/api/beta_testing" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
web:
build: ./web
@@ -34,5 +40,6 @@ services:
- BOT_API_URL=http://void-sentinel:8080
- NODE_ENV=production
depends_on:
- void-sentinel
void-sentinel:
condition: service_healthy
restart: unless-stopped