Skip to content

Commit 6e673c0

Browse files
authored
Update index.mdx
1 parent c74e882 commit 6e673c0

File tree

1 file changed

+15
-3
lines changed
  • tutorials/deploy-openwebui-with-generative-apis

1 file changed

+15
-3
lines changed

tutorials/deploy-openwebui-with-generative-apis/index.mdx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ Scaleway assigns a unique endpoint for your Generative API access. This can be f
5656
https://api.scaleway.ai/<YOUR_PROJECT_ID>/v1
5757
```
5858

59+
If you have not created a dedicated project and are using the `default` project created with your Scaleway Account, you can use directly the following url: `https://api.scaleway.ai/v1`.
60+
You can also find the exact URL snippet including your `project_id` by visiting [Generative API Playground](https://console.scaleway.com/generative-api/models/fr-par/playground) and clicking on `View Code`.
61+
5962
<Message type="note">
6063
For more information about your Project ID, refer to our [dedicated documentation](/organizations-and-projects/how-to/create-a-project/).
6164
</Message>
@@ -69,8 +72,7 @@ Open WebUI provides an easy-to-use interface for interacting with AI models. The
6972
1. Pull and Run the Docker container:
7073

7174
```bash
72-
docker run -d \
73-
-p 3000:8080 \
75+
docker run -p 3000:8080 \
7476
-e OPENAI_API_BASE_URL=https://api.scaleway.ai/<YOUR_PROJECT_ID>/v1 \
7577
-e OPENAI_API_KEY=<YOUR_API_KEY> \
7678
-v open-webui:/app/backend/data \
@@ -99,12 +101,19 @@ For cloud-based deployment, Scaleway's Serverless Containers offer a scalable so
99101
1. In the Scaleway Console, navigate to **Serverless** > **Containers**.
100102
2. Click **Deploy Container** to display the container creation wizard.
101103
3. Select an external registry and use the image `ghcr.io/open-webui/open-webui:main`.
104+
<Message type="note">
105+
You do not need to configure the port as the default one - `8080` - is the one used by the image from `ghcr.io/open-webui/open-webui:main`.
106+
</Message>
102107
4. Enter a name for your container and configure it's resources.
103108
5. Click **Advanced options** and configure Secrets:
104109
- Set `OPENAI_API_BASE_URL` and `OPENAI_API_KEY` with your specific values.
105110

106111
6. Click **Deploy container** to launch deployment. Once deployed, note the provided endpoint to access Open WebUI.
107112

113+
<Message type="note">
114+
Since Open WebUI default image is around 5GB size, deployment can take a couple of minutes before being ready.
115+
</Message>
116+
108117
### Deploying on Scaleway using the ClI
109118

110119
#### Ensure your Scaleway namespace exists
@@ -133,5 +142,8 @@ $ scw container container create name=open-webui \
133142
region=fr-par
134143
```
135144

136-
For more details, refer to Scaleway's [Serverless Containers documentation](/serverless-containers/).
145+
<Message type="note">
146+
Replace `<YOUR_PROJECT_ID>` and `<YOUR_API_KEY>` with your actual values.
147+
</Message>
137148

149+
For more details, refer to Scaleway's [Serverless Containers documentation](/serverless-containers/).

0 commit comments

Comments
 (0)