i think you're right about depends_on but we might be lucky with healthcheck: docs.docker.com/compose/compose-fi... (this will only tell us an indication if the container is healthy or not). here's an example to try (docker not docker-compose): github.com/tomwillfixit/healthcheck
also, i was trying to find depends_on with v3 out there in the wild and found this example: github.com/Eficode/Docker-Selenium...
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!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
i think you're right about depends_on but we might be lucky with healthcheck:
docs.docker.com/compose/compose-fi...
(this will only tell us an indication if the container is healthy or not).
here's an example to try (docker not docker-compose):
github.com/tomwillfixit/healthcheck
also, i was trying to find depends_on with v3 out there in the wild and found this example:
github.com/Eficode/Docker-Selenium...
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!