Files
hub-monorepo/apps/hubble/envoy/README.md
PangZhi 3ac5315fd5 feat: add hub-web package to only depend on grpc-web (#797)
* add new hub-web package and generate code from grpc-web

* expose RpcWebClient

* add envoy support

* update readme and changelog

* add changeset

* move envoy to apps/hubble and fix service name

* reduce the code generation from protoc to only rpc.proto
2023-04-03 11:35:08 -07:00

818 B

In order for farcaster to support grpc-web, we need to set up envoy alongside the server.

Requirement

Install docker if the farcaster instance doesn't support docker yet

ssh ubuntu@<farcaster instance ipv4 address> -i key.pem
chmod +x install-docker.sh
./install-docker.sh
logout of the ssh session
re-login

Infra setting

update inbound/outbound traffic to allow tcp through envoy port (default: 2284)

Start envoy

update envoy.yaml for the correct rpc port (default: 2283) and envoy port (default: 2284)

chmod +x envoy-start.sh
./envoy-start.sh

you should be able to see an envoy process under docker ps

Contributing

Please see our contributing guidelines before making a pull request.

License

MIT License