jetify-com / devbox

Instant, easy, and predictable development environments
https://www.jetify.com/devbox/
Apache License 2.0
7.84k stars 188 forks source link

Use process-compose working directory devbox shell #2070

Open natebrunette opened 1 month ago

natebrunette commented 1 month ago

What problem are you trying to solve?

I have different microservices running in different repos. I want to combine all of my processes in one config file so I can utilize depends_on for processes that rely on shared services as well as be able to start them all from one directory.

What solution would you like?

If working_dir is used in the process-compose config, run commands through the devbox shell if it exists in that repo.

Alternatives you've considered

Prefixing the commands with devbox run works, but it would be nice to not have to do that as it wasn't clear that was required (since it normally uses the current directory's shell).