-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Can this work with v3 of docker compose? #3
Comments
No, unfortunately this does not work with v3 of docker compose. From v3 they are not supporting the This is a couple of paragraphs taken from the documentation here that explains their reasoning.
So the options are:
|
You could invoke Docker API, as documented here. |
You might want to make a note in your README that this solution doesn't work as of docker-compose V3 |
Added a note to the readme about this issue. Thanks. |
This is supported in newer versions of docker-compose which support the compose specification. Verified with docker-compose 1.28.4 here. cc @unparalleled-js |
@shane-axiom Thanks for letting me know! I had no idea about this change.
ref: https://docs.docker.com/compose/compose-file/ It aggregates properties across all the past formats, so you can now use the 2.x |
Tested and updated the readme. Basically, it doesn't matter what the I think we can consider this issue resolved. |
Since docker compose won't support the
condition
form ofdepends_on
can something like healthcheck works yet?reference:
https://docs.docker.com/compose/compose-file/#depends_on
The text was updated successfully, but these errors were encountered: