Skip to content

The health route of laravel #308

@insign

Description

@insign

As suggestion, since Laravel 11 there is a default route /up that sends code 200 when fine and 500 when not.

Maybe the laravel image should use this in HEALTHCHECK something like:

HEALTHCHECK CMD curl -fksI https://127.0.0.1/up

or

HEALTHCHECK --interval=5s --timeout=5s --retries=5 CMD curl -fksI https://127.0.0.1/up

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions