Skip to content

Compose should use compose_file_name=[] or None by default #259

Open

Description

@bitplane

For some reason docker-compose up -d works subtly differently than docker-compose up -d -f docker-compose.yml when there are overrides files. I'm not sure why, but passing compose_file_name=[] fixes things for me locally as it doesn't build the -f list.

I think this should be the default, rather than defaulting to a specific file name.

Also, since it actually supports a list, the parameter name should be different so this is obvious

Activity

  1. tillahoffmann commented on Jan 6, 2023

    @tillahoffmann
    Contributor

    Thanks for reporting. Do you have a code snippet to illustrate the issue?

  2. bitplane commented on Jan 31, 2023

    @bitplane
    ContributorAuthor

    It was part of a project I was working on for a customer so can't really share. If I find time I'll create a test case, and if I have a failing test then I guess I might as well fix it and send a PR too. No promises at the moment as it's bottom of my priorities, so if anyone else wants to do it go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions