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

Support for multiple compose files #44

Open
sparrowek opened this issue Nov 15, 2020 · 5 comments
Open

Support for multiple compose files #44

sparrowek opened this issue Nov 15, 2020 · 5 comments

Comments

@sparrowek
Copy link

I am using multiple compose files like this - https://docs.docker.com/compose/extends/#multiple-compose-files
and also by specifying several compose files in the .env like here - https://medium.com/@pscheit/docker-compose-advanced-configuration-541356d121de
Unfortunately the plugin does not support this.

@ddnexus
Copy link

ddnexus commented Sep 6, 2021

Without this basic feature it's quite useless for any serious usage 😕

@p1c2u
Copy link
Owner

p1c2u commented Sep 6, 2021

Hi, you can use docker-compose.files setting?

@ddnexus
Copy link

ddnexus commented Sep 6, 2021

you can use docker-compose.files setting?

No I cannot because docker-compose.files uses only the filename, not the full path. Unless you have a small project or a big one very messy, you will keep the docker-compose files in some dir.

@p1c2u
Copy link
Owner

p1c2u commented Sep 6, 2021

What happens when you put full name? 🤔

@bb
Copy link

bb commented Sep 8, 2021

It would also be good to support the override files (docker-compose.override.yml etc), the COMPOSE_FILE environment variable (which can take multiple files separated by colon) and automatically reading e.g. the COMPOSE_FILE and COMPOSE_PROFILES from the .env file.

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

4 participants