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

Add support for wildcards selecting compose files #760

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Mar 28, 2025

@ndeloof ndeloof requested a review from glours March 28, 2025 15:41
@ndeloof ndeloof marked this pull request as draft March 28, 2025 15:42
@glours
Copy link
Collaborator

glours commented Mar 31, 2025

I’m wondering whether we should support this in compose-go, or if it should be handled on the client side instead?
If we decide to handle it within compose-go, I think we need to have a clear rule in the specification to ensure predictable behavior—something like loading files in alphabetical order.

@ndeloof
Copy link
Collaborator Author

ndeloof commented Mar 31, 2025

I’m wondering whether we should support this in compose-go, or if it should be handled on the client side instead?

I looked into adding this to docker/compose first, but this is way simpler here.

I think we need to have a clear rule in the specification to ensure predictable behavior—something like loading files in alphabetical order.

Sure, here I'm using slices.Sort and this has to be well documented in the spec

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

Successfully merging this pull request may close these issues.

Support wildcards/glob paths in docker compose --file flag
2 participants