I meant this:
That is what Docker Compose v2.1 was using on the condition option on the depends_on, and that is what Docker Compose v3 removed.
Of course, I may be wrong, so by all means please investigate and let me know!
i think you're right about depends_on but we might be lucky with healthcheck:
(this will only tell us an indication if the container is healthy or not).
here's an example to try (docker not docker-compose):
also, i was trying to find depends_on with v3 out there in the wild and found this example:
so i must say i'm confused.
i hope i'll have the time to play with it myself soon to figure it out
Please let me know if you find anything!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.