Skip to content

Instantly share code, notes, and snippets.

Avatar

Nelson Neves nneves

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am nneves on github.
  • I am nneves (https://keybase.io/nneves) on keybase.
  • I have a public key ASAXWofpi4Ov5Dw0WNt8NVv9ilrmHKdX2eQFLc6LnQzLIgo

To claim this, I am signing this object:

@nneves
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: https://github.com/mcoquet/micro-compose
#
# run docker-compose with:
# > EXTERNAL_IP="192.168.1.65" 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.