|
|
@@ -2,13 +2,13 @@
|
|
|
|
|
|
imgproxy comes with a built-in health check HTTP endpoint at `/health`.
|
|
|
|
|
|
-`GET /health` returns HTTP Status `200 OK` if the server is started successfully.
|
|
|
+`GET /health` returns an HTTP Status of `200 OK` if the server has been successfully started.
|
|
|
|
|
|
-You can use this for readiness/liveness probe when deploying with a container orchestration system such as Kubernetes.
|
|
|
+You can use this for readiness/liveness probes when deploying with a container orchestration system such as Kubernetes.
|
|
|
|
|
|
## imgproxy health
|
|
|
|
|
|
-imgproxy provides `imgproxy health` command that makes an HTTP request to the health endpoint based on `IMGPROXY_BIND` and `IMGPROXY_NETWORK` configs. It exits with `0` when the request is successful and with `1` otherwise. The command is handy to use with Docker Compose:
|
|
|
+imgproxy provides an `imgproxy health` command that makes an HTTP request to the health endpoint based on the `IMGPROXY_BIND` and `IMGPROXY_NETWORK` configs. It exits with `0` when the request is successful and with `1` otherwise. The command is handy to use with Docker Compose:
|
|
|
|
|
|
```yaml
|
|
|
healthcheck:
|