Open max-baranikov opened 4 years ago
Our apologies for such a delayed reply.
So, we don't use absolute paths in run configurations so that they still worked if you copied the project to a different location.
Instead, we consider the path to be relative to the project root.
So, in your case, if the docker-compose.yml file is located in the project root as you claim, it's supposed to be something like ./docker-compose.yml
.
I can't reproduce the issue locally too. Is it still happening in newer PhpStorm versions for you?
I have docker-compose.yml file in the root of my project and I can run it directly from terminal with
docker-compose up
But when I try to add a docker debug configuration from docker-compose file, I cannot set proper absolute path. When I add path do docker-compose.yml, everything is fine.But when I press OK, the IDE replace it with a relative path based on my project dir, like this:
And obviously this configuration cannot run with the following error:
How can I set the absolute path, or make this relative path works in IDE?