Does Wait.forHealthCheck support the Docker Compose healthcheck configuration?
#927
Unanswered
wujekbogdan
asked this question in
Q&A
Replies: 1 comment
-
|
Hi @wujekbogdan, docker compose doesn't support defining a healthcheck via the CLI, which is what the docker-compose library used by Testcontainers uses. As you're using docker-compose, why not define the healthcheck for the container in the compose file itself? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to use Docker Compose health checks combined with
DockerComposeEnvironment.The documentation isn't explicit about it, but it seems that
Wait.forHealthCheckonly supports theHEALTHCHECKentry provided by theDockerfile. Am I right?Beta Was this translation helpful? Give feedback.
All reactions