"HEALTHCHECK"

This commit is contained in:
Allan Nordhøy 2023-08-11 18:59:26 +00:00 committed by GitHub
parent 6563ec98b3
commit efeff84320
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ The [Docker Image](../Dockerfile) includes a health check with the following opt
```
--timeout=10s
```
> Specifies the amount of time to wait for a response from the \"healthcheck\" command. \
> Specifies the amount of time to wait for a response from the \"HEALTHCHECK\" command. \
> If the response does not arrive within 10 seconds, the health check fails.
<br>
@ -39,7 +39,7 @@ This command will attempt to connect to `http://localhost:3000/` \
and if it fails it will exit with a status code of `1`. \
If this command returns a status code other than `0`, the health check fails.
Overall, this HEALTHCHECK instruction is defining a health check process \
Overall, this \"HEALTHCHECK\" instruction is defining a health check process \
that runs every 30 seconds, and waits up to 10 seconds for a response, \
begins 5 seconds after the container is started, and retries up to 3 times. \
The health check attempts to connect to http://localhost:3000/ \