What shell does pycharm run docker-compose up in?


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?

1 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.


Please sign in to leave a comment.