mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
"HEALTHCHECK"
This commit is contained in:
parent
6563ec98b3
commit
efeff84320
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ The [Docker Image](../Dockerfile) includes a health check with the following opt
|
||||||
```
|
```
|
||||||
--timeout=10s
|
--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.
|
> If the response does not arrive within 10 seconds, the health check fails.
|
||||||
<br>
|
<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`. \
|
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.
|
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, \
|
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. \
|
begins 5 seconds after the container is started, and retries up to 3 times. \
|
||||||
The health check attempts to connect to http://localhost:3000/ \
|
The health check attempts to connect to http://localhost:3000/ \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue