Support for compose files in a directory other than root path
Hi There, I tried a few combinations with the docker-compose.files setting, but was unsuccessful.
In a project I have I keep a folder under the root path (compose-files) with multiple compose files in it. Would it be possible (and useful) to have a workspace level property that lets the user specify the directory to look in for compose files?
Thanks for your work on this extension!
Hi @snixon
You should be able to do it with files. Be sure to add base compose files too.
The files in this project are in the docker dir... so I updated the path and this is what happens:
Docker Compose Error: Command failed: docker-compose -f docker-compose.yml -f ./docker/docker-compose.yml ps
.FileNotFoundError: [Errno 2] No such file or directory: './docker-compose.yml'
So it searches for a docker-compose.yml file even if I don't have it in the docker-compose.files.
FYI: another problem using the default that works: if I use up in the panel, it seems not to work, but it's just missing to refresh the screen. It does refresh on down, but it does not on up.