Skip to content

Dockerfile HEALTHCHECK lacks start-period/timeout/retries and polls slowly #2183

Description

@felladrin

Surfaced by a role-based review; verified against current code.

Problem: Dockerfile:92 is HEALTHCHECK --interval=5m CMD curl -f http://localhost:7860/status. No --start-period (slow llama/SearXNG startup can flap the container to unhealthy), no --timeout, no --retries, and a 5-minute interval means up to five minutes to notice a dead container — poor for orchestrators/compose restart policies.

Fix: HEALTHCHECK --start-period=60s --interval=30s --timeout=10s --retries=3 CMD curl -fsS http://localhost:${PORT}/status || exit 1.

Files: Dockerfile

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions