Files
sablier/docs/health.md
2023-06-17 17:06:25 -04:00

547 B

Sablier Healthcheck

Using the /health route

You can use the route /health to check for healthiness.

  • Returns 200 OK when ready
  • Returns 503 Service Unavailable when terminating

Using the sablier health command

You can use the command sablier health to check for healthiness.

sablier health takes on argument --url which defaults to http://localhost:10000/health.

services:
  sablier:
    image: acouvreur/sablier:1.4.0-beta.3
    healthcheck:
      test: ["sablier", "health"]
      interval: 1m30s