-
Notifications
You must be signed in to change notification settings - Fork 13
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
Start service dependencies one by one #598
Conversation
What is the order of start? I would say it makes sense to start the dependencies first. (as the name suggest, the service is dependent on them). |
Before there was no order of starting. And it's the pbm because some dependencies may eg. connect to service and the other opposite, so it's hard to tell the one perfect order. For example you deploy website as servcie and has db as a dependency so service must start first. Second, you deploy database and eg. crawlers as a dependency in that case db must start first so crawler can connect to it |
For info, the dependencies are started before the service itself. LGFM |
Why the dependencies are starting before the service ? This is just based on a map so it shouldn't by default, this needs to be added for me, I don't see how it can be done with the code here |
Because of the way we inject the configuration to dependencies. See end of func deploy: Actually, why are we keeping Let's either remove configuration from service, or let's not copy config in dependencies. see #624 |
This pull request has been mentioned on MESG Community. There might be relevant details there: https://forum.mesg.com/t/start-docker-services-in-parallel/144/1 |
closes #382