curl -sf http://localhost:3000/health || echo 'UNHEALTHY'
Category: Self-Hosting
curl -sf http://localhost:3000/health || echo 'UNHEALTHY'
Health check that prints UNHEALTHY if the endpoint returns an error — use in Docker health check
Health check that prints 'UNHEALTHY' if the endpoint returns a non-200 status or isn't reachable. Use this in Docker health check scripts or CI.