mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
[PR #111] [MERGED] feat: backend reverse proxy #6963
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/111
Author: @tjbck
Created: 11/15/2023
Status: ✅ Merged
Merged: 11/15/2023
Merged by: @tjbck
Base:
main← Head:dev📝 Commits (10+)
6a9bef7feat: backend reverse proxyb1f1d1dchore: version update3c89588feat: docker compose backend support updatebc9884cMerge branch 'main' into dev4bc04fedoc: demo updated882f173doc: features updatedfb77db3doc: external ollama server usage updated69b7fa0doc: setup instructions clarifiedfc3bf33doc: todo list updated0fe673adoc: docker command update📊 Changes
18 files changed (+228 additions, -66 deletions)
View changed files
📝
Dockerfile(+22 -6)📝
README.md(+43 -47)➕
backend/.gitignore(+2 -0)➕
backend/apps/ollama/main.py(+55 -0)➕
backend/config.py(+15 -0)➕
backend/dev.sh(+1 -0)➕
backend/main.py(+51 -0)➕
backend/requirements.txt(+19 -0)➕
backend/start.sh(+1 -0)📝
compose.yaml(+4 -4)📝
demo.gif(+0 -0)📝
package.json(+2 -2)📝
run.sh(+1 -1)📝
src/lib/constants.ts(+1 -1)📝
src/routes/+error.svelte(+7 -1)📝
src/routes/+layout.js(+2 -2)📝
src/routes/+page.svelte(+1 -1)📝
svelte.config.js(+1 -1)📄 Description
Resolves #89
Enables solution for #68 #31
Enhances security as you no longer need to expose Ollama over LAN (or network) by removing the need for following env variables when both Ollama and Ollama Web UI is hosted from the same machine:
OLLAMA_HOST=0.0.0.0OLLAMA_ORIGINS=*Introduces the following breaking changes:
--add-host=host.docker.internal:host-gatewayis now required by default to run ollama-webui docker containerdocker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway --name ollama-webui --restart always ollama-webuiTODO:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.