Health check endpoints
Enterprise feature
This feature is available only for the Enterprise plan. To get started, reach out to support@buildwithfern.com.
The self-hosted container exposes health check endpoints for Kubernetes and Helm deployments on port 8081. These endpoints help you monitor the container’s health and ensure proper startup behavior.
The liveness probe detects unrecoverable failures and triggers container restart, while the readiness probe prevents traffic routing to containers that are still starting up. By using both probes, deployments no longer need arbitrary timeouts like --wait --timeout 15m0s.
Available endpoints
Liveness probe
GET /liveness verifies that all critical service processes are still running by checking their PIDs. Use this to distinguish between unrecoverable failures (process died) and slow startups.
Checked services
- PostgreSQL (via
pg_isready) - MinIO (via
/minio/health/live) - FDR server (via
/health) - Next.js docs server (via root endpoint)
- MeiliSearch (warning only, non-critical)
Readiness probe
GET /readiness verifies that all services are healthy and ready to serve traffic by testing their health endpoints. It returns success only when all services are fully initialized and responsive.
Checked services
- PostgreSQL (via
pg_isready) - MinIO (via
/minio/health/live) - FDR server (via
/health) - Next.js docs server (via root endpoint)
- MeiliSearch (warning only, non-critical)
Legacy health endpoint
GET /health provides backward compatibility with existing deployments. Returns the same status as the readiness probe.
Configuration
Configure your Kubernetes or Helm deployment to use both probes: