From e6428e286271ec196e9b0e8ef401ef94a517847f Mon Sep 17 00:00:00 2001 From: fpagny Date: Mon, 19 May 2025 10:54:25 +0200 Subject: [PATCH 1/2] 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. --- tutorials/deploy-openwebui-with-generative-apis/index.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tutorials/deploy-openwebui-with-generative-apis/index.mdx b/tutorials/deploy-openwebui-with-generative-apis/index.mdx index df9debb401..b721bb80d0 100644 --- a/tutorials/deploy-openwebui-with-generative-apis/index.mdx +++ b/tutorials/deploy-openwebui-with-generative-apis/index.mdx @@ -137,7 +137,7 @@ Run the following command to create the container with your **Docker image and s $ scw container container create name=open-webui \ namespace-id= \ - registry-image="ghcr.io/open-webui/open-webui:main" \ + registry-image="ghcr.io/open-webui/open-webui:0.5.10" \ environment-variables.OPENAI_API_BASE_URL="https://api.scaleway.ai//v1" \ secret-environment-variables.0.key="OPENAI_API_KEY" \ secret-environment-variables.0.value="" \ @@ -152,4 +152,8 @@ $ scw container container create name=open-webui \ Replace `` and `` with your actual values. + + This snippet deploys OpenWebUI version `0.5.10`. For 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 OpenWebUI container image. In this case, if container is in `Error` we recommend to increase `cpu-limit`, `memory-limit` or `local-storage-limit` values to recommended OpenWebUI values. + + For more information, refer to Scaleway's [Serverless Containers documentation](/serverless-containers/). From e1441bc50f760593a9f75cadf2baac587855a332 Mon Sep 17 00:00:00 2001 From: Benedikt Rollik Date: Mon, 19 May 2025 13:22:48 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- tutorials/deploy-openwebui-with-generative-apis/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/deploy-openwebui-with-generative-apis/index.mdx b/tutorials/deploy-openwebui-with-generative-apis/index.mdx index b721bb80d0..c648bf73ff 100644 --- a/tutorials/deploy-openwebui-with-generative-apis/index.mdx +++ b/tutorials/deploy-openwebui-with-generative-apis/index.mdx @@ -153,7 +153,7 @@ $ scw container container create name=open-webui \ - This snippet deploys OpenWebUI version `0.5.10`. For 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 OpenWebUI container image. In this case, if container is in `Error` we recommend to increase `cpu-limit`, `memory-limit` or `local-storage-limit` values to recommended OpenWebUI values. + 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. For more information, refer to Scaleway's [Serverless Containers documentation](/serverless-containers/).