invoker icon indicating copy to clipboard operation
invoker copied to clipboard

Add a cli option to specify backend services host if they are not running locally

Open flanker opened this issue 9 years ago • 2 comments

  • e.g. Services running in Docker containers on Mac OS X need to be accessed via Docker VM IP address instead of OS X's localhost.

On Mac OS X, dockerized services are not running as localhost. They need to be accessed via Docker VM (boot2docker or Docker machine) which usually has a different IP (e.g. 192.168.59.103)

Added this cli option to specify the backend service host. So the proxy could find the correct backend service.

flanker avatar Aug 15 '15 04:08 flanker

@flanker thanks for the PR. this looks good to me, but i have a concern: since backend_host is no longer under invokers' control to check if invoker setup has been run properly or not, i suspect this will create more problems. @gnufied @nisanth074 what do you guys think?

iffyuva avatar Oct 12 '15 04:10 iffyuva

This makes ton of sense. @flanker I just merged https://github.com/code-mancers/invoker/pull/146/files which implements this partly.

Can you update this branch with latest master? I will be happy to look and merge.

gnufied avatar Jan 20 '16 01:01 gnufied