Skip to content

Commit 0939813

Browse files
fpagnybene2k1
andauthored
fix(genapi): add fixed version for openwebui deployment (#4990)
* fix(genapi): add fixed version for openwebui deployment Add a fixed version for openwebui deployment with serverless container to ensure cpu and memory limits are right, and deployment will work. * Apply suggestions from code review --------- Co-authored-by: Benedikt Rollik <[email protected]>
1 parent 56fec42 commit 0939813

File tree

1 file changed

+5
-1
lines changed
  • tutorials/deploy-openwebui-with-generative-apis

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Run the following command to create the container with your **Docker image and s
137137

138138
$ scw container container create name=open-webui \
139139
namespace-id=<YOUR_NAMESPACE_ID> \
140-
registry-image="ghcr.io/open-webui/open-webui:main" \
140+
registry-image="ghcr.io/open-webui/open-webui:0.5.10" \
141141
environment-variables.OPENAI_API_BASE_URL="https://api.scaleway.ai/<YOUR_PROJECT_ID>/v1" \
142142
secret-environment-variables.0.key="OPENAI_API_KEY" \
143143
secret-environment-variables.0.value="<YOUR_SECRET_KEY>" \
@@ -152,4 +152,8 @@ $ scw container container create name=open-webui \
152152
Replace `<YOUR_PROJECT_ID>` and `<YOUR_API_KEY>` with your actual values.
153153
</Message>
154154

155+
<Message type="tip">
156+
This snippet deploys OpenWebUI version `0.5.10`. For the latest version replace `open-webui:0.5.10` by `open-webui:main`. Note that storage and memory requirements often increase with latest versions, as new features or built-in models may be included in the OpenWebUI container image. In this case, if the container is in `Error` state we recommend to increase `cpu-limit`, `memory-limit` or `local-storage-limit` values to recommended OpenWebUI values.
157+
</Message>
158+
155159
For more information, refer to Scaleway's [Serverless Containers documentation](/serverless-containers/).

0 commit comments

Comments
 (0)