Mise à jour du healthcheck de FrankenPHP pour ne pas utiliser index.php mais un fichier spécifique.
This commit is contained in:
@@ -12,7 +12,8 @@ services:
|
|||||||
- ./host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
|
- ./host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
|
||||||
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD-SHELL", "curl -s http://localhost/index.php || exit 1" ]
|
test: [ "CMD-SHELL", "curl -s http://localhost/server-php-test.php || exit 1" ]
|
||||||
interval: 0.2s
|
interval: 30s
|
||||||
timeout: 1s
|
timeout: 1s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
start_period: 1s
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<?php echo 'OK'; ?>
|
||||||
Reference in New Issue
Block a user