Skip to content

Commit

Permalink
update health check
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira authored Nov 5, 2024
1 parent b9359fb commit 9d4b296
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions docs/server/start-stop.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,7 @@ To update the server binaries, simply update the docker image

## Health check

The server has a health check that checks every 2 minutes if the server is alive and responds to a request. That request is currently `http://localhost:80/r4/metadata`
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/r4/metadata"]
interval: 5m
timeout: 30s
retries: 5
start_period: 600s

If the server doesn't respond, it will be automatically restarted.


The server has a health check that checks every 2 minutes with 5 retries if the server is alive and responds to a request. That request is currently on `http://localhost:80/r4/metadata`. The request is only starting after 10 minutes, to give the server time to startup.

After 10 minutes of consecutive failure, the server is automatically restarted.

0 comments on commit 9d4b296

Please sign in to comment.