Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Gateway using the Rust Query Planner and a purpose-built executor for Hive Gatew
Then, configure your Hive Gateway to use the Rust Query Planner by updating your gateway's
configuration:

<Tabs items={['CLI', "Programmatic Usage"]}>
<Tabs items={['CLI', "Programmatic Usage", "Docker"]}>

<Tabs.Tab>

Expand Down Expand Up @@ -73,6 +73,19 @@ export const gateway = createGatewayRuntime({

</Tabs.Tab>

<Tabs.Tab>
You can enable the Rust Query Planner by setting the `HIVE_ROUTER_RUNTIME` environment variable when running the Docker container.

```sh
docker run \
-e HIVE_ROUTER_RUNTIME=true \
-p 8080:8080 \
-v "$(pwd)/supergraph.graphql:/gateway/supergraph.graphql" \
ghcr.io/graphql-hive/gateway supergraph --port=8080
```

</Tabs.Tab>

</Tabs>

## Exposing the Query Plan
Expand Down
Loading