faradayio / cage

Develop and deploy complex Docker applications
http://cage.faraday.io
Apache License 2.0
307 stars 26 forks source link

Allow more complex `up --init` dependencies #101

Open emk opened 4 years ago

emk commented 4 years ago

I'm seeing some cases where users need to write:

cage up --init
cage up some_pod --init
cage up

I'd like to reduce that to a single cage up --init, but that may require some way of declaring more complex dependencies between pods. I think the current mechanism is "placeholders start first, then all other pods start in parallel."

Maybe this already works using that rule? Anyway, check it.