I'd like to be able to setup a health check CLI script to run inside the Docker container. This is useful in both Docker Compose and AWS ECS scenarios to test whether the container is healthy, before rotating out the older version.
In fact, this was quite easy before, as curl
CLI was shipped with the image, but as of the latest stable image, the curl
is no longer provided.
Please either add back curl
and declare it as an official dependency, or add a Retool-specific CLI script that we can use to do a health check.
This used to work:
"CMD-SHELL", "curl -f http://localhost:3000/api/checkHealth || exit 1"
And no longer works.