ci: updated dockerfile

This commit is contained in:
Marvin Zhang
2024-11-24 11:35:21 +08:00
parent 3a49f48aaf
commit 0912395837
4 changed files with 9 additions and 14 deletions

Binary file not shown.

View File

@@ -11,7 +11,7 @@ services:
depends_on:
- mongo
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health", "||", "exit", "1"]
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 5
@@ -25,7 +25,7 @@ services:
depends_on:
- master
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health", "||", "exit", "1"]
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 5