generated from bisco/codex-bootstrap
fix: make wordpress healthcheck production safe
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ services:
|
||||
db:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD", "php", "-r", "$$c=@file_get_contents('http://127.0.0.1/wp-login.php'); exit($$c===false ? 1 : 0);"]
|
||||
test: ["CMD", "php", "/usr/local/bin/azionelab-healthcheck.php"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 20
|
||||
|
||||
Reference in New Issue
Block a user