Skip to content

Instantly share code, notes, and snippets.

View nneves's full-sized avatar

Nelson Neves nneves

View GitHub Profile
@nneves
nneves / keybase.md
Created July 11, 2019 13:12
Keybase

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 March 30, 2017 14:52
micro-compose: launch greeter-srv and expose port to host network
# 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"}'