Jenkins打包
Tests / Test No test results found

This commit is contained in:
2026-07-13 10:42:31 +08:00
parent e9006c3a29
commit 52dae806ef
6 changed files with 229 additions and 7 deletions
+1 -7
View File
@@ -38,13 +38,7 @@ services:
postgres:
condition: service_healthy
healthcheck:
test:
- CMD
- python
- -c
- >-
import urllib.request;
urllib.request.urlopen('http://127.0.0.1:8001/health/ready', timeout=2)
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8001/health/ready"]
interval: 5s
timeout: 3s
retries: 12