chore: replace wget with curl in various scripts for consistency and reliability
- Updated WafConfig.tsx to correct regex for common bad bots. - Modified cerberus_integration.sh to use curl instead of wget for backend readiness check. - Changed coraza_integration.sh to utilize curl for checking httpbin backend status. - Updated crowdsec_startup_test.sh to use curl for LAPI health check. - Replaced wget with curl in install-go-1.25.5.sh for downloading Go. - Modified rate_limit_integration.sh to use curl for backend readiness check. - Updated waf_integration.sh to replace wget with curl for checking httpbin backend status.
This commit is contained in:
@@ -53,7 +53,7 @@ services:
|
||||
# - ./my-existing-Caddyfile:/import/Caddyfile:ro
|
||||
# - ./sites:/import/sites:ro # If your Caddyfile imports other files
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/api/v1/health"]
|
||||
test: ["CMD", "curl", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/api/v1/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user