sendgrpc

0.2.1 • Public • Published

SendGRPC

Installation

Docker

You can run sendgrpc container with your docker-compose.yml file. Just add a new service:

  sendgrpc:
    image: dbarzdys/sendgrpc
    volumes: 
     - ./your-config-file.json:/etc/sendgrpc/sendgrpc.conf.json
     - ./your-service.proto:/etc/sendgrpc/protos/your-service.proto
    ports:
     - 8888:8888

Example of sendgrpc.conf.json file:

{
    "servers": [
        {
            "name": "your-service-name",
            "protoPath": "protos/your-service.proto",
            "target": "http://your-service:80"
        }
    ]
}

NPM

You can also install this tool using npm.

npm install -g sendgrpc

And then run:

sendgrpc -p [port] -c [config-file]

Preview

alt text

Readme

Keywords

none

Package Sidebar

Install

npm i sendgrpc

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

1.74 MB

Total Files

117

Last publish

Collaborators

  • dbarzdys