Skip to content

Commit 80911cb

Browse files
authored
Remove healthcheck from frankenphp configuration (#661)
The CMD healthcheck fails with “executable not found” because the healthcheck binary simply does not exist in the image. There are only the specialized scripts: healthcheck-octane, healthcheck-queue, healthcheck-schedule, healthcheck-horizon, and healthcheck-reverb. For the default FrankenPHP mode (without Octane), the image already includes a built-in HEALTHCHECK: curl --insecure http://localhost:${CADDY_HTTP_PORT}${HEALTHCHECK_PATH} with start_period: 60s, start_interval: 3s, interval: 10s, timeout: 3s, and retries: 3.
1 parent 30d52d8 commit 80911cb

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

docs/content/docs/2.image-variations/frankenphp.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@ services:
8989
environment:
9090
# Use Laravel's built-in health check
9191
HEALTHCHECK_PATH: /up
92-
healthcheck:
93-
test: ["CMD", "healthcheck"]
94-
interval: 10s
95-
timeout: 5s
96-
retries: 3
9792
```
9893
9994
::tip
@@ -405,4 +400,4 @@ If you need to customize the container further, reference the docs below:
405400
- [Environment Variable Specification](/docs/reference/environment-variable-specification) - See which environment variables are available to customize PHP and Caddy settings.
406401
- [Command Reference](/docs/reference/command-reference) - See which commands are available to run inside the container.
407402
- [FrankenPHP Documentation](https://frankenphp.dev/){target="_blank"} - Official FrankenPHP documentation for advanced features.
408-
- [Caddy Documentation](https://caddyserver.com/docs/){target="_blank"} - Official Caddy documentation for web server configuration.
403+
- [Caddy Documentation](https://caddyserver.com/docs/){target="_blank"} - Official Caddy documentation for web server configuration.

0 commit comments

Comments
 (0)