Open shayrybak opened 6 years ago
Using "depends on" is very much an anti-pattern and really should be avoided. If my word isn't enough, maybe his will be: https://medium.com/@kelseyhightower/12-fractured-apps-1080c73d481c (Search in the article for "Eliminate the need to deploy services in a specific order").
Even still this would be a low priority for me. The depends_on
is highly Docker specific, but I'll accept it as something we can address.
I care less about the specific order in this case, although some applications that I use, like nginx, won't start up if the upstream isn't resolvable, in our use case the upstream would be another container.
But this was more for convenience, if I want to run a specific service out of the full project, I want it to run with its dependencies.
In any case, thank you for accepting.
ISSUE TYPE
container.yml
OS / ENVIRONMENT
SUMMARY
When running a specific service which has dependencies the run comm
STEPS TO REPRODUCE
EXPECTED RESULTS
Expected a-c to run the dependent service as well as the service requested in correct order
ACTUAL RESULTS
Got the following error: