This commit is contained in:
Andras Schmelczer 2025-11-22 19:41:24 +00:00
parent 511ac78e6d
commit d590a2c9c8
8 changed files with 261 additions and 30 deletions

View file

@ -280,10 +280,15 @@ Run daily via cron:
The server exposes a ping endpoint:
```bash
curl http://localhost:3000/vaults/fake/ping
# Returns: pong
curl http://localhost:3000/vaults/test/ping
# Returns: {"server_version":"0.10.1","is_authenticated":false}
```
Replace `test` with any vault name. The endpoint returns:
- `server_version`: Current server version
- `is_authenticated`: Whether the request included a valid token
Docker health check is built-in and checks this endpoint every 30 seconds.
#### Prometheus Metrics