Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.52 KB

File metadata and controls

35 lines (25 loc) · 1.52 KB

Run envoy

clone the repository then go to this docker folder /configuration/grpc_web/docker and run

docker build --build-arg SIGNAL_SERVER_HOST_NAME=127.0.0.1 -t envoy:v1 .

unless you intend to start it with docker compose you could, start it

docker run -p 8081:8081 envoy:v1

SIGNAL_SERVER_HOST_NAME should point to the machine where signalbroker-server is hosted

Start using the system

Reference, re-generate gRPC-web js files

inspiration from https://github.com/grpc/grpc-web/ and https://hackernoon.com/interface-grpc-with-web-using-grpc-web-and-envoy-possibly-the-best-way-forward-3ae9671af67

proto files are avalible in: signal_server/apps/grpc_service/proto_files/

to re-generate files - or just grab the files from the generated folder

mkdir generated. Run the command from "this" directory!

protoc ./proto_files/*.proto -I./proto_files/ --js_out=import_style=commonjs:generated --grpc-web_out=import_style=commonjs,mode=grpcwebtext:generated