GitDeployHub

agustinustheo/ic-websocket-gateway

github.com/agustinustheo/ic-websocket-gateway ↗
Rust
15 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • IC_URL IC WebSocket Gateway the url of the IC replica/subnet
  • POLLING_INTERVAL gateway to canister polling interval in milliseconds
  • MIN_INCOMING_INTERVAL minimum interval between incoming messages in milliseconds
  • LISTEN_PORT the public port where the gateway will listen
  • DOMAIN_NAME the public domain name of the server
  • RUST_LOG_FILE the log configuration (can also be empty). See README.md for more details
  • RUST_LOG_STDOUT
  • OPENTELEMETRY_COLLECTOR_ENDPOINT TELEMETRY CONFIG ## the telemetry collector endpoint (leave empty to disable telemetry) if you're running the gateway from the…
  • RUST_LOG_TELEMETRY configure the telemetry trace level
  • GRAFANA_TEMPO_ENDPOINT the info necessary to relay the telemetry traces to Grafana Tempo find how to set the following variables at:…
  • GRAFANA_TEMPO_ACCESS_TOKEN secret Set this to the access token obtained from Grafana Tempo
  • GRAFANA_TEMPO_LOCAL
  • GRAFANA_PROMETHEUS_ENDPOINT
  • GRAFANA_PROMETHEUS_USERNAME
  • GRAFANA_PROMETHEUS_TOKEN secret
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/agustinustheo/ic-websocket-gateway
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/agustinustheo/ic-websocket-gateway
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/agustinustheo/ic-websocket-gateway
← Try another repo