Skip to content

feat: add /health endpoint and wire docker-compose healthcheck #183

@alikhere

Description

@alikhere

The backend has no health check endpoint and docker-compose has no startup ordering between services. The frontend can start and make API calls before the backend is ready, causing connection errors on first load.

Adding GET /health to Flask and wiring it into docker-compose with a healthcheck and depends_on condition fixes both problems together. This also unblocks Kubernetes liveness and readiness probes which
currently have nothing to point at.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions