Skip to content

Commit 54c4896

Browse files
committed
+ pro/install: thruster
1 parent f0b9891 commit 54c4896

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
* [Heroku](/deployment/heroku.md)
3535
* [Fly.io](/deployment/fly.md)
3636
* [Kamal](/deployment/kamal.md)
37+
* <a rel="noopener" href="https://github.com/anycable/thruster" target="_blank">Thruster 🔗</a>
3738
* [Render](/deployment/render.md)
3839
* <a rel="noopener" href="https://hatchbox.relationkit.io/articles/12-does-hatchbox-support-anycable" target="_blank">Hatchbox 🔗</a>
3940
* [Docker](/deployment/docker.md)

docs/pro/install.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,31 @@ You can use Heroku _Container Registry and Runtime_ feature to deploy AnyCable-G
5555

5656
The basic steps are: pull an AnyCable-Go PRO image from our private registry, push it to your Heroku registry and deploy. See [the official documentation](https://devcenter.heroku.com/articles/container-registry-and-runtime).
5757

58+
## AnyCable Thruster Pro
59+
60+
We also ship Pro versions of [AnyCable Thruster][thruster] binaries via the same [releases repo][releases-repo].
61+
62+
You can download them using `fetch` as follows:
63+
64+
```sh
65+
fetch --repo=https://github.com/anycable/anycable-go-pro-releases --tag="v1.6.5" --release-asset="anycable-thruster-linux-amd64" --github-oauth-token="<access-token>" /tmp
66+
```
67+
68+
Then, when running the `thrust` command (provided by the `anycable-thruster` gem), specify the path to the downloaded binary as `ANYCABLE_THRUSTER_BIN_PATH=path/to/anycable-thruster`.
69+
70+
### Installing AnyCable Thruster Pro on Heroku
71+
72+
Our buildpack supports downloading custom binaries. To donwload `anycable-thruster` binaries, set the following environment vars:
73+
74+
```
75+
HEROKU_ANYCABLE_GO_BINARY_NAME=anycable-thruster
76+
77+
HEROKU_ANYCABLE_GO_SKIP_VERSION_CHECK=1 // skip the default version check on installation, since Thruster has no -v flag
78+
```
79+
5880
[ghcr]: https://ghcr.io
5981
[ghcr-auth]: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry
6082
[releases-repo]: https://github.com/anycable/anycable-go-pro-releases/
6183
[fetch]: https://github.com/gruntwork-io/fetch
6284
[buildpack]: https://github.com/anycable/heroku-anycable-go
85+
[thruster]: https://github.com/anycable/thruster

0 commit comments

Comments
 (0)