mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[PR #8184] [MERGED] Fix offline docker container startup issue #22177
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8184
Author: @vishwamartur
Created: 12/29/2024
Status: ✅ Merged
Merged: 12/29/2024
Merged by: @tjbck
Base:
dev← Head:fix-offline-docker📝 Commits (1)
00e6ffeFix offline docker container startup issue📊 Changes
3 files changed (+15 additions, -1 deletions)
View changed files
📝
README.md(+8 -0)📝
backend/open_webui/env.py(+3 -0)📝
backend/open_webui/retrieval/utils.py(+4 -1)📄 Description
Related to #7207
Modify the code to allow the docker container to start in an offline environment for versions >= 0.4.0.
backend/open_webui/retrieval/utils.py
OFFLINE_MODEfromopen_webui.env.local_files_onlytoTruewhenOFFLINE_MODEis enabled insnapshot_kwargs.backend/open_webui/env.py
HF_HUB_OFFLINEenvironment variable to1whenOFFLINE_MODEis enabled.README.md
HF_HUB_OFFLINEenvironment variable to1for offline environments.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.