compose
compose copied to clipboard
Search for .config/docker-compose.yml
Description
Hi,
There is an effort to unclutter root directory of project by using a local .config
directory: https://github.com/pi0/config-dir. docker-compose.yml is very common at root of project to describe the development environment.
I suggest that docker compose also search for .config/docker-compose.yml
.
Regards, Étienne
Let's keep this issue open in case this becomes popular, but to be honest I consider Docker Compose is doing way too much magic trying to guess the compose file to be used, better not add yet another "default search path"
I don't really see why this would be necessary when compose has a --file
/ -f
option to specify a compose file.
It's negligible to make this work with a small script or shell aliases in different environments, so I agree with @ndeloof