mirror of
https://github.com/open-webui/docs
synced 2025-05-21 11:46:15 +00:00
Update tutorial/openai.md
This commit is contained in:
parent
44f8899947
commit
79312d0dc6
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
sidebar_position: 1
|
sidebar_position: 2
|
||||||
title: "OpenAI API"
|
title: "OpenAI API"
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ In this tutorial, we will demonstrate how to configure multiple OpenAI (or compa
|
|||||||
|
|
||||||
## Docker Run
|
## Docker Run
|
||||||
|
|
||||||
Here's an example `docker run` command similar to what you might use for Open-WebUI:
|
Here's an example `docker run` command similar to what you might use for Open WebUI:
|
||||||
```bash
|
```bash
|
||||||
docker run -d -p 3000:8080 \
|
docker run -d -p 3000:8080 \
|
||||||
-v open-webui:/app/backend/data \
|
-v open-webui:/app/backend/data \
|
||||||
@ -28,7 +28,7 @@ You can adapt this command to your own needs, and add even more endpoint/key pai
|
|||||||
|
|
||||||
## Docker Compose
|
## Docker Compose
|
||||||
|
|
||||||
Alternatively, you can use a `docker-compose.yaml` file to define and run the Open-WebUI container. Here's an abridged version of what that might look like:
|
Alternatively, you can use a `docker-compose.yaml` file to define and run the Open WebUI container. Here's an abridged version of what that might look like:
|
||||||
```yaml
|
```yaml
|
||||||
services:
|
services:
|
||||||
open-webui:
|
open-webui:
|
||||||
|
Loading…
Reference in New Issue
Block a user