I'm trying to understand how the docker compose health check options work.
healthcheck: interval: 1m30s timeout: 10s retries: 3
Would I be right in saying that this configuration will poll a container every 90 seconds, then if the container times out after 10 seconds, then the swarm will try again 3 times, after which it will mark the container for termination and create a new one to replace it
The documentation here https://docs.docker.com/compose/compose-file/compose-file-v3/
Isn't very helpful.
Thanks