Startup-order¶
Overview¶
Docker SWARM
doesn’t support depends_on
annotation, this means on a restart of the whole stack every modules will start in the same time. To avoid resources constriction each OnSphere module enforce some waiting on other service.
The dependencies between core modules
are described there and serve as a basis to determine the wait-for-it order.
As only the osp-configuration-dispatcher host and port is available at the startup the current start order is :
Start osp-configuration-dispatcher and osp-mysql
All others modules