diff --git a/docker-compose.frankenphp.yml b/docker-compose.frankenphp.yml index f36f66a..43068f3 100644 --- a/docker-compose.frankenphp.yml +++ b/docker-compose.frankenphp.yml @@ -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 \ No newline at end of file + retries: 10 + start_period: 1s diff --git a/www/server-php-test.php b/www/server-php-test.php new file mode 100644 index 0000000..bd8d833 --- /dev/null +++ b/www/server-php-test.php @@ -0,0 +1 @@ +