Ask HN: Best way to simultaneously run multiple projects locally?
Hey HN, I often work on couple of projects at the same time and am trying to figure out what’s the easiest way to run all of them at once.
For example, let’s say that I want to run frontend and two backend services (each it’s own repo).
My current approach is to run each on a different port, but I actually wonder whether setting up a small Kubernetes cluster with Traefik as proxy wouldn’t serve me better as I could then use Skaffold or something similar to deploy apps independently to the cluster.
Basically looking for true and tested solutions. Thanks.
Before there was Docker and Kubernetes I used to run hundreds of web sites on a single server by being disciplined about where files go, how database connections are configured, etc. I still do.
I like to run my code in containers (also during development), although your approach ain’t broken.
I found that Caddy will take you a very long way if you just want virtual hosting and reverse proxying. YMMV