-
-
Notifications
You must be signed in to change notification settings - Fork 583
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
How to use glob pattern in docker compose? #1278
Comments
you should add only the necessary services in the vars: image 1: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to figure out how to use glob pattern in this case.
I have 3 services: a, b and c.
Now I want to seperate a and b into one image and c in the other.
So in docker compose file I think i should set SERVICES variable like this:
image 1:
SERVICES: a,b,!c
image 2:
SERVICES: c, !a,!b
But it does not work.
I also try
SERVICE: *,!c
, too.How do I do in this case?
The text was updated successfully, but these errors were encountered: