Finding that using container-compose with a docker-compose.yml file containing 11 wiremock servers, each servers is launched sequentially, waiting for each to complete before starting to launch the next. This means the whole launch is pretty slow for multiple containers.
This is exacerbated by a timeout issue on 1.0.0 tagged version, but not on main, the launch time for 11 services is over 5 minutes as each waits for 30 seconds. But even on main the sequential launching takes ~23 seconds.
When launching the services with a custom bash script in parallel, this is reduced to 7 seconds.
Is it feasible to launch the services in parallel?
Finding that using container-compose with a
docker-compose.ymlfile containing 11 wiremock servers, each servers is launched sequentially, waiting for each to complete before starting to launch the next. This means the whole launch is pretty slow for multiple containers.This is exacerbated by a timeout issue on 1.0.0 tagged version, but not on main, the launch time for 11 services is over 5 minutes as each waits for 30 seconds. But even on main the sequential launching takes ~23 seconds.
When launching the services with a custom bash script in parallel, this is reduced to 7 seconds.
Is it feasible to launch the services in parallel?