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

Running containers in parallel #1109

Open
baranowskikamil opened this issue Jan 17, 2023 · 3 comments
Open

Running containers in parallel #1109

baranowskikamil opened this issue Jan 17, 2023 · 3 comments

Comments

@baranowskikamil
Copy link

Hi I'm trying to use yours project to run multiple containers in tests (postgis, rabbitmq, eventstoredb).

To optimise execution I would like to run those containers in parallel (rabbitmq is the longest starting one). Is this possible in current version? If there are any plans to add it if no available right now?

@Fameing
Copy link
Collaborator

Fameing commented Jan 24, 2023

At the moment, you can use several containers in parallel at the same time.

@Fameing Fameing closed this as completed Jan 24, 2023
@baranowskikamil
Copy link
Author

What I mean is it possible to parallel startup of containers. I know it possible to have it run at the same time, but it's not my case.
Example:
I have three containers: postgres, rabbit, eventstore.
Currently startups looks like this:
(rabbit...............X seconds) -> (postgres.......Y seconds) -> (eventstore.....Z seconds) -> so startup time takes X+Y+Z.
What I want is to have startup of this containers in parallel:
(rabbit...............X seconds)
(postgres.......Y seconds)
(eventstore.....Z seconds)

So the startup is maximum of (X,Y,Z)

@Fameing Fameing reopened this Jan 24, 2023
@Fameing
Copy link
Collaborator

Fameing commented Jan 24, 2023

@baranowskikamil For now is parallel startup container is not implemented.

welcome to contribution :)

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

2 participants