Skip to content
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

Deploy all may not work #67

Closed
cnouguier opened this issue Jun 11, 2019 · 2 comments
Closed

Deploy all may not work #67

cnouguier opened this issue Jun 11, 2019 · 2 comments

Comments

@cnouguier
Copy link
Contributor

When using the subcommend deploy all, we may have some services that do not work while if we do it stack by stack it works

@cnouguier cnouguier added the bug label Jun 11, 2019
@cnouguier
Copy link
Contributor Author

Because the depends_on option is ignored when deploying a stack in swarm mode with a version 3 Compose file (https://docs.docker.com/compose/compose-file/#depends_on) we need to implement our own solution (wait-for script or simply add a wait between the deployment of each stack)

@cnouguier
Copy link
Contributor Author

To keep it simple, we remember that it is necessary to define the stacks in the order of dependencies and let"s add a delay that will force the process to wait between each stack

@cnouguier cnouguier added this to the v0.4.0 milestone Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant