-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Fix docker compose version to be the latest below 3, depends_on condition now works fine. #16396
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
Conversation
…epends_on condition works fine.
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
|
According to #15509 This feature is not documented in docker docs, but it works. |
|
@gabrielvieira37 - did you actually have any problems with this option or is just something you noticed/detected by some static checks? |
|
I had a problem when i tried to run the docker-compose.yml that the documentation links. When i tried to run it some errors showed up. |
|
cc: @mik-laj |
|
What version of Docker compose do you have? Do you use We check the compliance of this file with the official Compose specification, which the version field marked as deprecated. Have you tried to delete this field? |
|
docker-compose version 1.25.0. I use |
|
Docker-compose v1.29.1 is required now, becuase we use
I'm testing this file on my CI and I didn't notice any problem. |
|
Hey @gabrielvieira37 - have you tested with 1.29.* ? Do you still see the problem? I am closing the issue now unless you come back and tell us that it did not work with 1.29 (I also tested with 1.29 and it works just fine). |
Fix docker compose version to handle
depends_onfeature calledcondition.Versions above or equal 3 does not support this feature, it did not port healthcheck dependencies.
Change version to to 2.4, the latest version below 3 that support that feature.