devpod icon indicating copy to clipboard operation
devpod copied to clipboard

Question: how to handle setup with projects that depend on other projects

Open aareman opened this issue 1 year ago • 1 comments

For example, if you have a micro service setup that spans multiple repos but require all of them to be running for any app to work (more realistic example sso, auth server and downstream need to be running)

We have a local dev setup with a reverse proxy for all the web service frontends. How do you suggest working that out with devpods?

_Everything is local development using docker, docker compose, and vscode devcontainers. _

Any direction would be helpful

Thank you, this tool looks wonderful 👍

aareman avatar Jul 05 '23 18:07 aareman

Hello! I think you might start with the built-in docker provider for DevPod:

docker use provider docker

Much of the VSCode devcontainer functionality should map over from there. There's also support for using docker compose, but I'd need more details to give a more specific answer. Some questions to get the ball rolling:

  • Do you use docker-compose to start all services, or is there a docker-compose for each service?
  • Does each service get a vscode devcontainer, or only one?
  • What are you using the reverse proxy to do?

lizardruss avatar Jul 13 '23 00:07 lizardruss

Closing this for now, please feel free to reopen if still relevant

FabianKramm avatar Sep 28 '23 07:09 FabianKramm