Harden scratch setup third-party readiness probes

This commit is contained in:
master
2026-03-10 12:48:56 +02:00
parent d881fff387
commit ffd4646d89
5 changed files with 163 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ services:
ports:
- "127.1.1.3:${RUSTFS_PORT:-8333}:8333"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:8333/"]
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8888/"]
interval: 30s
timeout: 10s
retries: 3
@@ -110,7 +110,7 @@ services:
ports:
- "127.1.1.5:80:5000"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:5000/v2/"]
test: ["CMD", "/usr/local/bin/zot-linux-amd64", "verify", "/etc/zot/config.json"]
interval: 30s
timeout: 5s
retries: 3