Add healthcheck command in wirecloud's image#25
Conversation
|
Hi @samgh96, thanks for the contribution! Only some details, I think the default timeout is too large (30s), taking into account that the version request should take ~20 ms in a decent machine. It's true that default should cope with small installations and use a timeout with enough room for taking into account some lags. I think that something in the range of 3s would be a better option. Also, it'd be great if you add this healthcheck configuration on the other images. |
|
Can you add the healthcheck also on the |
|
It is, HEALTHCHECK only supports exit codes of 0 and 1, and |
|
Ok, thanks 😄. So the only missing piece is to add the healthcheck on the dev image and I will merge your PR. |
This PR adds a healthcheck command in the Dockerfile.