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

<upServices> tag #12

Open
luisfranciscob opened this issue Feb 2, 2022 · 1 comment
Open

<upServices> tag #12

luisfranciscob opened this issue Feb 2, 2022 · 1 comment

Comments

@luisfranciscob
Copy link

luisfranciscob commented Feb 2, 2022

Hi,

I have a docker compose with 2 services: A and B.

I would like to run A service (a database), then run Spring Boot maven plugin (that runs a Spring app that requires the previous database) and finally run the C service (that requires the app to be up).

I could achieve that order using multiple executions, but I couldn't find the way to run only A service at the first time because the up goal works on all the services in the compose and I couldn't use start goal since the compose is not up.

I tried to use something similar to <startServices> like <upServices> but I think that feature is missing. Since it is possible to execute "docker-compose up A", where A is a service, I think that it makes a lot of sense to include <upServices>.

Thanks in advance!

@FelipeGXavier
Copy link

Anything new on this? Same situation here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants