Skip to content

Create Healthcheck Endpoint #53

Description

@chrislea

My request is to implement an API endpoint for a health check. For example, an endpoint at https://manynotes.mydomain.io/_healthz that would return a 200 response code if everything is working correctly, and some 4xx response if things aren't.

The Docker image that you ship contains curl so it's easy to come up with a simple one-liner that could check this endpoint, which would make it easy for Self-Hosted / HomeLab users using Docker or Podman to monitor that the service is healthy.

As an example, the Memos project has an endpoint at /healthz that does exactly this.

Looks like a really great little app, thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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