FaustXVI / junit5-docker

Start docker containers from your junit tests
Apache License 2.0
54 stars 7 forks source link

Support docker compose #61

Open FaustXVI opened 7 years ago

hanleyt commented 6 years ago

Hey,

I'd like to give this a go, but I'm not sure how to do it with the docker-java api.

Do you have any ideas/tips on how to do it?

Thanks! Tomas

FaustXVI commented 6 years ago

Hi @hanleyt , That's awesome ! As far as I know, docker-java doesn't support compose :( So we may need a new dependency, or write our own way of doing this. We never were very happy with docker-java so if there is a better solution that supports docker-compose, then, please don't hesitate to change the library. @vdemeester any insights ? Also, please don't be scared by the quality constraints we have, it's there just to force us to think deeply and show us holes that we may no be aware of. Don't hesitate to do a PR with a un-finished/non building code. We will discuss things there more specifically :)

vdemeester commented 6 years ago

🤔 There is two options really :

2nd options is better but way more work too.