docker variable is not set
In my docker-compose.yml I have
ports:
- ${PORT}:80
In my run configuration, I have the PORT environment variable set (e.g. to 9000).
However, when I run the configuration, I get an error that the PORT variable is not set:

On PyCharm Pro 2020.2, Ubuntu 20.04 LTS
Thanks!
Please sign in to leave a comment.
Hi,
Could you try the workaround from this comment https://youtrack.jetbrains.com/issue/PY-38367#focus=Comments-27-3904155.0-0?
Has it helped?
My Python virtual environment is called `.env`.
EDIT: renamed virtual environment to .venv and tried the suggestion and it works.
Thanks!