Skip to content

Commit f36cb86

Browse files
committed
fix(env-var): adjust name for DASHBOARD_API_BASE_URL
1 parent 4221998 commit f36cb86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: docs/how-to/configure.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CodeGate supports the following parameters:
3131
| `CODEGATE_OLLAMA_URL` | `http://host.docker.internal:11434` | Specifies the URL of your Ollama instance. |
3232
| `CODEGATE_OPENAI_URL` | `https://api.openai.com/v1` | Specifies the OpenAI engine API endpoint URL. |
3333
| `CODEGATE_VLLM_URL` | `http://localhost:8000` | Specifies the URL of the vLLM server to use. |
34-
| `DASHBOARD_BASE_API_URL` | `http://localhost:8989` | Overrides the base URL of the CodeGate API referenced by the dashboard UI (see [run CodeGate on a remote host](#run-on-remote-host)). |
34+
| `DASHBOARD_API_BASE_URL` | `http://localhost:8989` | Overrides the base URL of the CodeGate API referenced by the dashboard UI (see [run CodeGate on a remote host](#run-on-remote-host)). |
3535

3636
### Example: Use CodeGate with a remote Ollama server
3737

@@ -57,12 +57,12 @@ that is directly accessible from the Internet!
5757
The CodeGate web dashboard provided in the Docker container makes client-side
5858
API calls from your web browser, and expects the CodeGate API to be available on
5959
_localhost_ port 8989 by default. To run CodeGate on a different host from your
60-
client/browser, you can override this using the `DASHBOARD_BASE_API_URL`
60+
client/browser, you can override this using the `DASHBOARD_API_BASE_URL`
6161
environment variable (available since CodeGate v0.1.28):
6262

6363
```bash {2}
6464
docker run --name codegate -d -p 8989:8989 -p 9090:9090 \
65-
-e DASHBOARD_BASE_API_URL=http://<REMOTE_HOST>:8989 \
65+
-e DASHBOARD_API_BASE_URL=http://<REMOTE_HOST>:8989 \
6666
--mount type=volume,src=codegate_volume,dst=/app/codegate_volume \
6767
--restart unless-stopped ghcr.io/stacklok/codegate
6868
```

0 commit comments

Comments
 (0)