Commit Graph

2 Commits

Author SHA1 Message Date
Alexis Couvreur
410a5e15eb fix(swarm): add an extra wait of 5 seconds to consider a service up 2022-07-23 12:53:23 -04:00
Alexis Couvreur
ebd24562b1 feat: add healthcheck lookup before redirect (#12)
Docker classic IsUp will return false when the container defines a healthcheck and is not healthy, otherwise as soon as it's started it's up.
Docker swarm will check that the number of required tasks is higher than 1, and that the number of running tasks matches the number of desired tasks.
A task is not running when it defines a healthcheck and is not healthy.
2021-09-28 12:44:27 +02:00