score-spec / score-compose

Reference implementation for docker-compose target platform support
https://score.dev/
Apache License 2.0
445 stars 40 forks source link

fix: increase healthcheck retries #168

Closed astromechza closed 1 month ago

astromechza commented 1 month ago

I noticed while working with the rabbitmq provisioner that sometimes the container errors while waiting for the service to come up. This is usually when the system is constrained by some other load like a video call.

When looking at the logs of the process I can see that it's not ready by the time the healthcheck gives up and this problem can be resolved by increasing the timeouts. I've done this in this PR to increase most services up to approximately 30s of retry attempts.