Mise à jour du healthcheck de FrankenPHP pour ne pas utiliser index.php mais un fichier spécifique.

This commit is contained in:
2026-02-26 20:09:29 +01:00
parent 77122f5f6c
commit 502fa49d24
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -12,7 +12,8 @@ services:
- ./host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
healthcheck:
test: [ "CMD-SHELL", "curl -s http://localhost/index.php || exit 1" ]
interval: 0.2s
test: [ "CMD-SHELL", "curl -s http://localhost/server-php-test.php || exit 1" ]
interval: 30s
timeout: 1s
retries: 10
start_period: 1s
+1
View File
@@ -0,0 +1 @@
<?php echo 'OK'; ?>