When developing multiple services that depends on other service, it’s comfortable to have a dev
environment. I usually have a
docker-compose file that mount a local environment. However, I do
not want to mount the whole ecosystem locally, just the services I’m currently developing.
By using Nginx, it’s possible to configure a fallback in case the local service is not up.