Skip to content

Instantly share code, notes, and snippets.


Nelson Neves nneves

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nneves on github.
  • I am nneves ( on keybase.
  • I have a public key ASAXWofpi4Ov5Dw0WNt8NVv9ilrmHKdX2eQFLc6LnQzLIgo

To claim this, I am signing this object:

nneves / docker-compose.yml
Last active Mar 30, 2017
micro-compose: launch greeter-srv and expose port to host network
View docker-compose.yml
# Source:
# run docker-compose with:
# > EXTERNAL_IP="" GREETER_SRV_PORT="1234" docker-compose up
# Query micro greeter service from host
# > micro query go.micro.srv.greeter Say.Hello '{"name": "John"}'
# Query micro greeter service from host (launch container to run micro cli tool - usefull if you do not have gomicro tools installed)
# > docker run --net=host microhq/micro --registry_address=localhost:8500 query go.micro.srv.greeter Say.Hello '{"name": "John"}'
You can’t perform that action at this time.