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?

0

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.

0

请先登录再写评论。