Open sparrowek opened 3 years ago
Without this basic feature it's quite useless for any serious usage 😕
Hi, you can use docker-compose.files
setting?
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.
What happens when you put full name? 🤔
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.
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.