Harden scratch setup third-party readiness probes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user