Skip to content

Commit

Permalink
docs: upd Heroku env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Sep 3, 2024
1 parent 5dfc01e commit 8c95b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/deployment/heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Fill the required information:

- `ANYCABLE_RPC_HOST`: the URL of your web application containing the mount path of the AnyCable HTTP RPC server (e.g., `https://my-app.herokuapp.com/_anycable`).

- `ANYCABLE_HTTP_RPC_SECRET`: A secret token to authenticate HTTP RPC requests.
- `ANYCABLE_SECRET`: A secret that will be used to generate an authentication token for HTTP RPC requests.

Make sure to set the same values in your web application configuration (`http_rpc_mount_path: "/_anycable"` in `config/anycable.yml` and the `ANYCABLE_HTTP_RPC_SECRET` env var).
Make sure to set the same values in your web application configuration (e.g., for Rails, `http_rpc_mount_path: "/_anycable"` in `config/anycable.yml` and the `ANYCABLE_SECRET` env var).

We recommend enabling [Dyno Metadata](https://devcenter.heroku.com/articles/dyno-metadata) to activate the [Heroku configuration preset](../anycable-go/configuration.md#presets). Otherwise, don't forget to set `ANYCABLE_HOST=0.0.0.0` in the application configuration.

Expand Down

0 comments on commit 8c95b34

Please sign in to comment.