check backend
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user