From 6ac1c693934d7988111adbe5d31ddc56e290d629 Mon Sep 17 00:00:00 2001 From: gyurix Date: Sat, 18 Jul 2026 13:40:00 +0200 Subject: [PATCH] updated persistent config settings in openwebui --- openwebui/openwebui-secret.json | 1 + openwebui/service-openwebui.json | 5 ++++- openwebui/template.json | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/openwebui/openwebui-secret.json b/openwebui/openwebui-secret.json index f41de64..824dd30 100644 --- a/openwebui/openwebui-secret.json +++ b/openwebui/openwebui-secret.json @@ -21,6 +21,7 @@ "WEBUI_ADMIN_PASSWORD": "#WEBUI_ADMIN_PASSWORD", "WEBUI_SECRET_KEY": "#WEBUI_SECRET_KEY", "OPENAI_API_KEY": "#OPENAI_API_KEY", + "HF_TOKEN": "#HF_TOKEN", "DATABASE_URL": "postgres://#POSTGRES_USER:#POSTGRES_PASSWORD@openwebuipostgres-db:5432/#POSTGRES_DB", "EXTERNAL_WEB_SEARCH_API_KEY": "#SEARXNG_SECRET", "EXTERNAL_WEB_LOADER_API_KEY": "#CRAWL4AI_API_TOKEN" diff --git a/openwebui/service-openwebui.json b/openwebui/service-openwebui.json index fb8a754..af8db2c 100644 --- a/openwebui/service-openwebui.json +++ b/openwebui/service-openwebui.json @@ -225,7 +225,10 @@ ], "ENVS": [ { - "ENABLE_PERSISTENT_CONFIG": "false" + "ENABLE_PERSISTENT_CONFIG": "true" + }, + { + "HF_HUB_OFFLINE": "#DISABLE_HUGGINGFACE" }, { "OPENAI_API_BASE_URL": "#OPENAI_API_BASE_URL" diff --git a/openwebui/template.json b/openwebui/template.json index 025bc22..eda6821 100644 --- a/openwebui/template.json +++ b/openwebui/template.json @@ -55,6 +55,21 @@ "advanced": "true", "type": "password" }, + { + "description": "Hugging Face token", + "key": "HF_TOKEN", + "value": "", + "info": "Optional Hugging Face API token for TTS and model access features.", + "advanced": "true", + "type": "password" + }, + { + "description": "Disable Hugging Face requests", + "key": "DISABLE_HUGGINGFACE", + "value": "1", + "info": "Set to 1 to disable all outgoing requests to huggingface.co at startup. Set to 0 or leave empty to allow Hugging Face access.", + "advanced": "true" + }, { "description": "Pipelines API key", "key": "PIPELINES_API_KEY",