How do I make docker swarm containers wait for each other?

Viewed 155

I'm launching my apps on Docker swarm. some of my apps have to wait for others. Since my applications do not have any health checks, I have to do this via docker swarm. My applications are not directly dependent on each other so my services start but run incorrectly. Because my other applications that need to start are not actually standing. An alternative to depends_on is a health check for containers to wait for each other for swarm, or What can I do for swarm, such as determining the order in which containers are created.

0 Answers
Related