What shell does pycharm run docker-compose up in?
Answered
We run
source dev-environment.bash
which configures a lot of env variables and other settings in the shell profile which then allows us to run
docker compose up {service}
Is there a way to configure which shell/run this command before pycharm runs the docker compose up?
Please sign in to leave a comment.
Unfortunately, it can't be configured. As a possible solution, you can either add the sourcing of the script to your .bashrc or start PyCharm from the same terminal session after you source the script. This way, it should inherit the environment.