-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to work with docker-compose ? #59
Comments
No need to apologize :) At the moment, there is no docker-compose support and there are currently also no plans to add it. Regarding the availability of images: As soon as #58 lands, you should be able to very easily create containers for images that are not yet in |
Thanks for your answer! One standard use-case of So for instance, in order to test this library, one has to setup Kafka through docker-compose (obviously). |
Good point. Reading up on how We could also start with a similar approach as we did for Unfortunately, we don't have the resources and the need to tackle this at the moment. Feel free to give it a go :) |
I can give this a try although I'm a complete beginner. |
To talk to the docker host, we currently simply shell out to the The whole thing is abstracted over through the For docker-compose, we can do something similar although we don't need the a trait here. |
Perfect pointer! Thank you. If it's just calling the |
That one is a bit tricky. I am not too familiar with the healthchecks though. Will have to look it up :) Looking at what testcontainers-java does might not hurt in terms of possible features ;) |
Hello, I have a prototype that works with shell out and docker compose v2.x. The code is planned to be open-sourced later, but at the time it's still in a private crate. Are you interested in a PR? |
Feel free to open a PR! I cant promise that it will be merged in though, that depends a lot on the design and how it fits into this crate :) |
Just informing everyone interested, we are doing a major revision of So anyone who wants to help with this is welcome 🙂 |
I'm starting to work on the feature in spare time |
Would love this as well. Not sure if I can try it out right now? |
Not at the moment unfortunately as I've had limited bandwidth for the last couple of months I'll continue working on this once have time |
Hello, thanks for your work, and sorry to bother your issues with a question :\
Is there a way to use a
docker-compose.yml
file in order to setup our integration tests stack ?Similar to: https://www.testcontainers.org/modules/docker_compose/
Or is it limited to only images defined in the
images
folder (redis etc.).If not possible atm, is it a feature you'd like to have in the future ?
Thank you.
The text was updated successfully, but these errors were encountered: