mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-24 14:31:51 +01:00
633 B
633 B
Sablier Healthcheck
Using the /health Route
You can use the /health route to check for service health.
- Returns 200
OKwhen ready - Returns 503
Service Unavailablewhen terminating
Using the sablier health Command
You can use the sablier health command to check for service health.
The sablier health command takes one argument, --url, which defaults to http://localhost:10000/health.
services:
sablier:
image: sablierapp/sablier:1.10.5
healthcheck:
test: ["sablier", "health"]
interval: 1m30s