JetBrains / JetBrains/phpstorm-workshop
docker-compose relative file path. Error: Can't read compose file project/./v2/../../v2/docker-compose.yml
- Dominant language
- PHP
- Stars
- 294
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
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:
```
Deploying 'Compose: v2'...
Failed to deploy 'Compose: v2': Can't read compose file at /path/to/my/project/./v2/../../v2/docker-compose.yml
```
How can I set the absolute path, or make this relative path works in IDE?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.